Beispiel #1
0
 public VirtualGameObject(Tag tag, Tag[] depth, Dictionary <KV_KEY, string> kv, string prefabName)
 {
     this.tag           = tag;
     this.depth         = depth;
     this.padding       = new Padding();
     this.vTransform    = new VirtualTransform(this);
     this.keyValueStore = kv;
     this.prefabName    = prefabName;
 }
Beispiel #2
0
 public void SetParent(VirtualTransform t)
 {
     t._childlen.Add(this.vGameObject);
     this.vGameObject.parent = t.vGameObject;
 }