コード例 #1
0
 public DontSucceedInARow(BehaviourBase behaviour) : base("DontSucceedInARow", behaviour)
 {
     pastStatus = Status.INVALID;
 }
コード例 #2
0
 protected Decorator(string name, BehaviourBase behaviour)
 {
     this.name      = name;
     this.behaviour = behaviour;
 }
コード例 #3
0
ファイル: Root.cs プロジェクト: kultie/Unity-Behaviour-Tree
 public Root(BehaviourContext _context, BehaviourBase _behaviour)
 {
     behaviourContext = _context;
     behaviour        = _behaviour;
 }
コード例 #4
0
 public Inverter(BehaviourBase behaviour) : base("Inverter", behaviour)
 {
 }
コード例 #5
0
 public RepeateUntilFail(BehaviourBase behaviour) : base("RepeateUntilFail", behaviour)
 {
 }
コード例 #6
0
 public After(string name, float duration, BehaviourBase behaviour, Timer timer) : base(name, behaviour)
 {
     readyToRun    = false;
     this.duration = duration;
     this.timer    = timer;
 }