protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit[] units = UnitHelper.GetTeamUnits(GameStateComponent.Instance.IsMyTeamGold); // env.Add(UnitsStr, units); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Unit unit = env.Get<Unit>(UnitKey); //env.Add(PosKey, unit.Position); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //Game.EventSystem.Run(EventIdType.SceneUIType, Visible); return(true); }
protected override bool Run(BehaviorTree behaviorTree, BTEnv env) { //GameStateComponent game = SceneHelper.Scene.GetComponent<GameStateComponent>(); //return game.IsFirst; return(true); }