示例#1
0
 public void RepositionateFunction(UIFunctionSlot slot, GameObject go)
 {
     if (slot.functionLine != null)
     {
         go.GetComponent <UIFunctionLine> ().sequenceID = slot.functionLine.sequenceID + 1;
         go.GetComponent <UIFunctionLine> ().isParallel = true;
     }
     go.transform.SetParent(slot.container.transform);
 }
示例#2
0
 void IsOverFunctionSlot(UIFunctionSlot _overSlot)
 {
     if (overSlot != null && overSlot.gameObject.name == "FunctionSlot_Childs")
     {
         overSlot = parent_Slot;
     }
     else
     {
         overSlot = _overSlot;
     }
 }