internal void Awake() { if (Singleton != null && Singleton != this) { Destroy(Singleton); } Singleton = this; view = GetComponent <NetworkView>(); if (Network.isServer) { GadgetCore.CoreLogger.Log("Listening for client connections..."); IdentifyNewClients(); } }
internal void Awake() { if (Singleton != null && Singleton != this) { Destroy(Singleton); } Singleton = this; initiatedClients.Clear(); view = GetComponent <NetworkView>(); if (Network.isServer) { GadgetCore.CoreLogger.Log("Awaiting for client connections..."); } }