コード例 #1
0
 protected override bool Run(BehaviorTree behaviorTree, BTEnv env)
 {
     Log.Debug($"创建UI特效: {this.effect.name}");
     return(true);
 }
コード例 #2
0
 protected abstract bool Run(BehaviorTree behaviorTree, BTEnv env);
コード例 #3
0
 protected override bool Run(BehaviorTree behaviorTree, BTEnv env)
 {
     return(true);
 }
コード例 #4
0
 public bool DoRun(BehaviorTree behaviorTree, BTEnv env)
 {
     env.Get <List <long> >(BTEnvKey.NodePath).Add(this.NodeProto.Id);
     return(this.Run(behaviorTree, env));
 }