Exemplo n.º 1
0
        public void SetBridge(GameObjectECSBridge bridge)
        {
            if (bridge.gameObject == null)
            {
                Debug.LogError("GameObjectComponent--SetGameObject "
                               + "Should be passed a GameObjectECSBridge that is attached to a gameObject");

                return;
            }

            this.bridge = bridge;
        }
Exemplo n.º 2
0
 public GameObjectComp(GameObjectECSBridge bridge)
 {
     this.SetBridge(bridge);
 }