protected void RequestNewTarget() { GameObject TempTarget = null; if (ParentFCS != null) { TempTarget = ParentFCS.GetNewTarget(); } if (TempTarget != null) { Target = TempTarget; MyAIState = TurretAIState.FAW; } else { MyAIState = TurretAIState.Rest; } }
public void SetState(TurretAIState a) { MyAIState = a; }