예제 #1
0
    // Use this for initialization
    void Awake()
    {
        if (clickerNetworkManager == null)
        {
            clickerNetworkManager = this;
        }
        else
        {
            Destroy(gameObject);
            return;
        }


        StartHost();
    }
예제 #2
0
 void Awake()
 {
     clickerNetworkManager = FindObjectOfType <ClickerNetworkManager>();
 }