Beispiel #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;
        }
Beispiel #2
0
 public GameObjectComp(GameObjectECSBridge bridge)
 {
     this.SetBridge(bridge);
 }