예제 #1
0
        public override void Initialize()
        {
            base.Initialize();

            LevelUI.DisplayString("Connecting...");

            reciever = new NetManagerReciever(ip, playerName);

            clientConnection = stage.CreateActor(0).AddComponent <ClientConnectionComponent>();
            clientConnection.Set(this);
        }
예제 #2
0
 protected override void OnInitialize()
 {
     Instance = this;
 }