protected override void HandleWorkerConnectionEstablished() { GameObjectCreationHelper.EnableStandardGameObjectCreation(Worker.World, new SyncTransObjectCreation(Worker), entityRepresentationMapping); WorkerUtils.AddClientSystems(Worker.World, false); this.ConnectionState = ConnectionState.ConnectionEstablished; }
protected override void HandleWorkerConnectionEstablished() { WorkerUtils.AddClientSystems(Worker.World, this.gameObject, false); var fieldSystem = Worker.World.GetExistingSystem <FieldQueryClientSystem>(); if (fieldSystem != null) { fieldSystem.OnQueriedEvent += CreatePlayerRequest; fieldSystem.SetXZPosition(pos.x, pos.z); } }
protected override void HandleWorkerConnectionEstablished() { GameObjectCreationHelper.EnableStandardGameObjectCreation(Worker.World, new SyncTransObjectCreation(Worker), entityRepresentationMapping); WorkerUtils.AddGameLogicSystems(Worker.World); }
protected override void HandleWorkerConnectionEstablished() { WorkerUtils.AddStrategyLogicSystems(Worker.World, entityRepresentationMapping); }
protected override void HandleWorkerConnectionEstablished() { WorkerUtils.AddGameLogicSystems(Worker.World, this.gameObject); }