示例#1
0
 protected virtual void Awake()
 {
     actor = GetComponent <IActable>();
     wait  = new WaitForSeconds(1f / BaseData.actionSpeed);
 }
示例#2
0
 public ActCommand(IActable worker)
 {
     name        = "Work";
     this.worker = worker;
 }