private void OnSceneGUI() { Player_Pilot_Controls pk = (Player_Pilot_Controls)target; Handles.color = Color.blue; Handles.DrawWireDisc(pk.transform.position, Vector3.forward, pk.radius); }
void Start() { problemsReport = gameObject.GetComponent <RecordProblems_Script>(); p_s = gameObject.GetComponent <Player_Ship_Controls>(); p_p = gameObject.GetComponentInChildren <Player_Pilot_Controls>(); p_muzzle = gameObject.GetComponent <Player_Muzzle>(); p_switch = gameObject.GetComponent <Player_Switch>(); origin = p_p.gameObject.transform.localPosition; }