private void FixedUpdate() { Transform transform = obj.gameObject.transform; if (transform.hasChanged) { ServerHelper.Instance.Broadcast(ServerCreatePacket.response_cube(transform)); } }
protected override void HandlePacket(ClientObject client, PacketInStream packet) { client.Announce(ServerCreatePacket.response_scene(SceneManager.GetActiveScene().name)); }