static void reset()
        {
            JEResource.Reset();
            JEComponent.Reset();
            JEScene.Reset();
            JEGameObject.Reset();

            JEComponent.RegisterStandardComponents();
        }
Example #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);
        }
Example #3
0
 public void AddComponent(JEComponent component)
 {
     components.Add(component);
 }