コード例 #1
0
ファイル: StateVariable.cs プロジェクト: M0rt1mer/Unity-goap
 public StateVarKeyComparable(string name, InnerType defaultValue) : base(name, defaultValue)
 {
     this.Logic = StateVariableLogicFactory.GetWorldStateLogic <LogicType>();
 }
コード例 #2
0
ファイル: StateVariable.cs プロジェクト: M0rt1mer/Unity-goap
 public StateVarKeyComparable(string name, InnerType defaultValue, Func <object, object, float> distanceFnc) : base(name, defaultValue)
 {
     this.Logic        = StateVariableLogicFactory.GetWorldStateLogic <LogicType>();
     this.distanceFunc = distanceFnc;
 }
コード例 #3
0
ファイル: StateVariable.cs プロジェクト: M0rt1mer/Unity-goap
 public StateVarKey(string name, ValueType defaultValue)
 {
     this.Logic        = StateVariableLogicFactory.GetWorldStateLogic <StateVariableLogicEquals>();
     this.Name         = name;
     this.defaultValue = defaultValue;
 }