public override void OnStart() { Formation formation = FormationManager.GetAvailableFormation(); if(formation == null) { formation = FormationManager.CreateFormation(); formation.SetLeader(pilot); } else { formation.AddMember(pilot); } }