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; } }
public StateRequirement(string name = "", StateBehaviour script = null, StateTable stateTable = null) { this.Setup(name, script, stateTable); }
public override void Setup(string name = "", StateBehaviour script = null, StateTable stateTable = null) { this.requirements[0] = new StateRowData(); base.Setup(name, script, stateTable); }
public void RefreshAll() { StateTable.RefreshTables(); }