예제 #1
0
파일: GuiHud.cs 프로젝트: jsjxsy/wushi
    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)));
            }
        }
    }
예제 #2
0
 void Start()
 {
     _This = this;
 }
예제 #3
0
 void Start()
 {
     _This = this;
 }