Esempio n. 1
0
 public virtual void Setup(string name, StateBehaviour script, StateTable stateTable)
 {
     this.name       = name;
     this.stateTable = stateTable;
     if (script != null)
     {
         this.id     = script.id;
         this.target = script;
     }
 }
Esempio n. 2
0
 public StateRequirement(string name = "", StateBehaviour script = null, StateTable stateTable = null)
 {
     this.Setup(name, script, stateTable);
 }
Esempio n. 3
0
 public override void Setup(string name = "", StateBehaviour script = null, StateTable stateTable = null)
 {
     this.requirements[0] = new StateRowData();
     base.Setup(name, script, stateTable);
 }
Esempio n. 4
0
 public void RefreshAll()
 {
     StateTable.RefreshTables();
 }