コード例 #1
0
 public BehaviorSnippet(EvaluationTree parentEvalTree)
 {
     evalTree  = parentEvalTree;
     bDS       = evalTree.bds;
     charStats = bDS.charStats;
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     rb             = this.gameObject.GetComponent <Rigidbody2D>();
     decisionSystem = this.gameObject.GetComponent <BehaviourDecisionSystem>();
     pSpace         = this.gameObject.GetComponentInChildren <PersonalSpace>();
 }