private void Start() { spawn_area = player_spawn.GetComponent <SpawnAreaCircle>(); }
public void OnSceneGUI() { circle = this.target as SpawnAreaCircle; Handles.color = Color.red; Handles.DrawWireDisc(circle.transform.position, circle.transform.up, circle.spawn_radius); }