private void Respawn() { var respawnPostion = Respawner.GetRespawnPosition(); var coin = Coins.GetObject(); if (coin != null) { coin.Initialize(respawnPostion); RespawnTimer = Random.Range(RESPAWN_TIME_MIN, RESPAWN_TIME_MAX); } }
private void Respawn() { //Debug.Log("Kui Respawn!!"); var respawnPostion = Respawner.GetRespawnPosition(); var kui = Kuis.GetObject(); if (kui != null) { kui.Initialize(respawnPostion); RespawnTimer = Random.Range(RESPAWN_TIME_MIN, RESPAWN_TIME_MAX); } }