public override void Initialize() { base.Initialize(); LevelUI.DisplayString("Connecting..."); reciever = new NetManagerReciever(ip, playerName); clientConnection = stage.CreateActor(0).AddComponent <ClientConnectionComponent>(); clientConnection.Set(this); }
protected override void OnInitialize() { Instance = this; }