Example #1
0
        static void reset()
        {
            BundleResource.Reset();
            BundleComponent.Reset();
            BundleScene.Reset();
            BundleGameObject.Reset();
            BundleComponent.RegisterStandardComponents();

            MeshExporter.Reset();
            MaterialExporter.Reset();
        }
Example #2
0
        public BundleGameObject(GameObject go, BundleGameObject parent)
        {
            allGameObjectLookup[go] = this;
            this.unityGameObject    = go;
            this.parent             = parent;
            this.name = go.name;

            if (parent != null)
            {
                parent.children.Add(this);
            }
            BundleComponent.QueryComponents(this);
        }
Example #3
0
 public void AddComponent(BundleComponent component)
 {
     components.Add(component);
 }