Skip to content
Snippets Groups Projects
Select Git revision
  • 7d3c02e74ac2fd6f6ff7112240303010afaba01c
  • master default
  • JS-based-scroll-rendering
  • Paul_Marius_Level
  • Paul_Marius_2
  • Paul_Marius
  • Andi_Mark
  • be-UnityWebView
  • gitignoreFrameitServer
  • ZimmerBSc
  • Bugfix_StageLoading
  • stages
  • MAZIFAU_Experimental
  • tsc/coneworld
  • tsc/fact-interaction
  • marcel
  • MaZiFAU_TopSort
  • mergeHelper
  • zwischenSpeichern
  • tempAndrToMaster
  • SebBranch
  • 3.0
  • v2.1
  • v2.0
  • v1.0
25 results

StartServer.cs

Blame
  • StartServer_mctrl.cs 459 B
    using System.Collections;
    using UnityEngine;
    
    public class StartServer_mctrl : MonoBehaviour
    {
        public GameObject ServerScriptGObj;
    
    
        void Start()
        {
            StartCoroutine(ServerRoutine());
        }
    
        IEnumerator ServerRoutine()
        {
            ////Wait for 1 seconds
            //yield return new WaitForSecondsRealtime(1f);
            if (CommunicationEvents.ServerAutoStart)
                ServerScriptGObj.SetActive(true);
    
            yield break;
        }
    }