Пример #1
0
 void Start()
 {
     networkOverlord = GameObject.Find("NetworkGM").GetComponent <NetworkOverlord>();
     networkOverlord.StartMatchMaker();
     StopAllCoroutines();
     StartCoroutine(AutoRefresh());
 }
Пример #2
0
 /// <summary>
 /// Triggered when script is loaded
 /// </summary>
 void Awake()
 {
     networkOverlord = GameObject.Find("NetworkGM").GetComponent <NetworkOverlord>();
 }
Пример #3
0
    private NetworkOverlord networkOverlord; //Used to send server creation in the network

    /// <summary>
    /// Triggered when script is loaded
    /// </summary>
    void Awake()
    {
        //Initialize components
        networkOverlord = GameObject.Find("NetworkGM").GetComponent <NetworkOverlord>();
    }