Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Defsine79 on October 04, 2016, 02:57:35 AM

Title: Loading screen
Post by: Defsine79 on October 04, 2016, 02:57:35 AM
Im having a bit of trouble getting my loading screen to work when a scenario file is called.  Are there any good tutorials for this on this forum ?
Title: Re: Loading screen
Post by: ArenMook on October 06, 2016, 06:09:09 AM
What's a scenario file and what do you mean by it getting called?

If you mean "scene file" and "loading", then setting up a loading screen is a simple matter of just having a near-empty scene as the target chosen for JoinChannel. Inside that scene would be your loading screen UI, and a script that will immediately pause packet processing in its Awake() (via TNManager.isActive = false) and additively load your other scene while displaying its progress. Just don't forget to unpause the TNManager when you're done.
Title: Re: Loading screen
Post by: Defsine79 on October 27, 2016, 03:18:51 AM
Ok thsnks ArenMook, Ill give it a try.