public override State Execute() { UI_Object item = DeviceToRelease.GetComponent <UI_Object> (); item.Action(); return(State.Suceeded); }
public override State Execute() { UI_Object item = ItemToTake.GetComponent <UI_Object> (); item.Action(); item.ChangeState(); return(State.Suceeded); }
public override State Execute() { UI_Object item = ItemToRelease.GetComponent <UI_Object> (); item.Action(); item.ChangeState(); item.PutItemAt(x, y, z); return(State.Suceeded); }