示例#1
0
        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);
            }
        }
示例#2
0
        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);
            }
        }