void _MakeInstance() { if (instance == null) { instance = this; } }
void Start() { SpawningControllerObject = GameObject.Find("spawn controller"); SpawningController = SpawningControllerObject.GetComponent <spawnController>(); currentHealth = health; }