Exemplo n.º 1
0
        static void reset()
        {
            JEResource.Reset();
            JEComponent.Reset();
            JEScene.Reset();
            JEGameObject.Reset();

            JEComponent.RegisterStandardComponents();
        }
Exemplo n.º 2
0
        public JEGameObject(GameObject go, JEGameObject parent)
        {
            GameObjectLookup[go] = this;
            this.unityGameObject = go;

            this.parent = parent;
            this.name   = go.name;

            if (parent != null)
            {
                parent.children.Add(this);
            }

            JEComponent.QueryComponents(this);
        }
Exemplo n.º 3
0
 public void AddComponent(JEComponent component)
 {
     components.Add(component);
 }