Example #1
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);
        }