コード例 #1
0
        protected override void HandleWorkerConnectionEstablished()
        {
            WorkerUtils.AddClientSystems(Worker.World);
            if (level == null)
            {
                return;
            }

            levelInstance = Instantiate(level, transform.position, transform.rotation);
        }
コード例 #2
0
        protected override void HandleWorkerConnectionEstablished()
        {
            WorkerUtils.AddClientSystems(Worker.World);
            if (Level == null)
            {
                return;
            }

            levelInstance = Instantiate(Level, transform);
            levelInstance.transform.SetParent(null);
        }
コード例 #3
0
        protected override void HandleWorkerConnectionEstablished()
        {
            ConnectionScreenController.OnConnectionSucceeded();
            Worker.OnDisconnect += ConnectionScreenController.OnDisconnected;
            WorkerUtils.AddClientSystems(Worker.World);

            if (level == null)
            {
                return;
            }

            levelInstance = Instantiate(level, transform.position, transform.rotation);
        }
コード例 #4
0
 protected override void HandleWorkerConnectionEstablished()
 {
     WorkerUtils.AddClientSystems(Worker.World);
 }
コード例 #5
0
 protected override void HandleWorkerConnectionEstablished()
 {
     WorkerUtils.AddClientSystems(Worker.World, entityRepresentationMapping);
 }