// Use this for initialization public virtual void Start() { _stateMachine = new FBLA.Game.AI.StateMachine <GameEntity>(this); if (GetTeam() != 0) { // Give the object a slight tint. Color setColor = Color.green; setColor.a = ENEMY_TINT; SetSelectedColor(setColor); } }
// Use this for initialization public virtual void Start () { _stateMachine = new FBLA.Game.AI.StateMachine<GameEntity>(this); if (GetTeam() != 0) { // Give the object a slight tint. Color setColor = Color.green; setColor.a = ENEMY_TINT; SetSelectedColor(setColor); } }