/// <summary> /// revive character if dead /// </summary> /// <param name="health">health</param> public void revive(int health) { #if DEBUG_INFO if (!m_Initialized) { Debug.LogError("Component not initialized <" + this.ToString() + ">"); return; } #endif if (!isDead) { return; } m_Stats.increaseHealth(m_Stats.maxHealth); m_Ragdoll.blendToMecanim(); }