Skip to content
Snippets Groups Projects
Select Git revision
  • 7fc2199d0d07c43a7bb4db30a4bb605d3817e75d
  • main default
  • master
  • tempAndrToMaster
4 results

WorldCursor.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;
        }
    }