Example #1
0
 public BGCc GetParent(Type type)
 {
     if (parent != null)
     {
         return(parent);
     }
     parent = (BGCc)GetComponent(type);
     return(parent);
 }
Example #2
0
 public BGCc GetParent(Type type)
 {
     if (parent != null) return parent;
     parent = (BGCc) GetComponent(type);
     return parent;
 }
Example #3
0
 public void SetParent(BGCc parent)
 {
     this.parent = parent;
 }