public void ShowBloodSplash() { if (On == false) { return; } for (int i = 0; i < 16; i++) { if (Random.Range(0, 100) < 25) { GuiManager.StartCoroutine(ShowBlood(new Vector2(GuiBlood.BloodLeft(i) - GuiBlood.BloodSize * 0.5f, GuiBlood.BloodBottom(i) - GuiBlood.BloodSize * 0.5f), UnityEngine.Random.Range(0, BloodEffectsUI.MaxBloodTypes - 1))); } } }
void Start() { _This = this; }