Ejemplo n.º 1
0
 void Awake()
 {
     DontDestroyOnLoad(this.gameObject);
     LoadConfigUsingJson();
     //client = new C2Client(player);
     client = C2Client.Instance;
     //client.Player = C2Client.;
     //(player);
 }
Ejemplo n.º 2
0
    void Awake()
    {
        DontDestroyOnLoad(this);

        client = C2Client.Instance;

        LoadServerConfigUsingJson();

        //C2Session.Instance.OnInit();
    }
Ejemplo n.º 3
0
 public C2Session(C2Client client)
 {
     OnInit();
     this.client = client;
 }