protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { env.Add(this.FloatKey, this.Value); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //return GuideComponent.Instance.IsEnd; return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //GuideComponent.Instance.ToNextGuideTree(); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.GuideUIVisible, State); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.ShowGuideText, Text); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //return GameStateComponent.Instance.IsMyTeamGold; return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { // Unit unit = env.Get<Unit>(UnitKey); //return unit.GetComponent<BuffComponent>().HasBuff(this.BuffConfigId); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit unit = env.Get<Unit>(UnitName); //return FootBallHelper.IsOnSize(unit); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.GuideSendProgress, Progress); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.GuideStaticPanelSwitch, Switch); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { // Spell spell = env.Get<Spell>(this.SpellKey); //env.Add(this.UnitKey, spell.Caster); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.GuidePassEnable, Enable); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //GameStateComponent.Instance.IsGuide = false; return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { int team = env.Get <int>(this.Team); return(team == 1); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //UIHelper.SetBreakPauseButtonState(StateType); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { // Unit targetUnit = env.Get<Unit>(this.TargetUnit); //CameraMotorComponent.Instance?.SetTarget(targetUnit); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit unit = env.Get<Unit>(this.UnitKey); //return ActorHelper.MyActor().Id == unit.Actor.Id; return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.ShowScoreBoardUI); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.GuideFinalEffectNodeSwitch, IsOn); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { // Buff buff = env.Get<Buff>(BuffKey); //env.Add(this.UnitKey, buff.Target); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { Unit unit = env.Get <Unit>(this.Unit); return(unit == null); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit unit = env.Get<Unit>(UnitName); //unit.GetComponent<UnitAppearanceComponent>().ApplyAppearance(AppearanceName); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit unit = env.Get<Unit>(this.Unit); //CameraMotorComponent.Instance.LookAt(unit.Position); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit camera = CameraComponent.Instance.Unit; //env.Add(this.Camera, camera); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //CameraMotorComponent.Instance.UpdateRotation(); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.ChangeSkillBtnEnable, BSkillEnabled); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit unit = env.Get<Unit>(this.UnitKey); //unit.GetComponent<MotorComponent>().Stop(); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //int goalCount = SceneHelper.Scene.GetComponent<GameStateComponent>().GoalCount; //env.Add(this.GoalKey, goalCount); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { return true; }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //GuideComponent.Instance.RemoveEffect(Name); return(true); }