static void reset() { BundleResource.Reset(); BundleComponent.Reset(); BundleScene.Reset(); BundleGameObject.Reset(); BundleComponent.RegisterStandardComponents(); MeshExporter.Reset(); MaterialExporter.Reset(); }
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); }
public void AddComponent(BundleComponent component) { components.Add(component); }