void OnDeleteFromLoopList(HBD_Action actionUI) { //print("Delete from loop list"); hb.RemoveActionFromLoopList(actionUI.action); //... }
private HBD_Action NewActionItem() { HBD_Action newItem = Instantiate(actionItemPrefab.gameObject, container).GetComponent <HBD_Action>(); actionItems.Add(newItem); newItem.onDeleteClick = onDeleteActionClick; newItem.onDragOut = onDragOut; return(newItem); }
public void Fill(HeroBehaviorDisplay display, HeroBehavior hb, HBD_ActionList tempList, HBD_ActionList loopList, HBD_Action action) { existingAction = action.action; this.loopList = loopList; this.tempList = tempList; this.display = display; this.hb = hb; createNew = false; SharedFill(); }
void OnDragOutFromTempList(HBD_Action actionUI) { //print("Drag out from temp list"); //... }
void OnDeleteFromTempList(HBD_Action actionUI) { //print("Delete from temp list"); hb.RemoveActionFromTemporaryList(actionUI.action); //... }
void OnDragOutFromLoopList(HBD_Action actionUI) { print("Drag out from loop list"); //... }