Beispiel #1
0
    IEnumerator HurtCoroutine()
    {
        MaterialHelper.EnableEmission(enemyModel, Color.red);
        yield return(new WaitForSeconds(hurtFeedbackTime));

        MaterialHelper.DisableEmission(enemyModel);
    }