Exemplo n.º 1
0
 /// <summary>
 /// Function that adds a hitsplat to the portrait
 /// </summary>
 /// <param name="details">The details needed to customize the splat.</param>
 private void AddHitsplat(SplatDetails details)
 {
     if (PortraitView != null && PortraitView.isActiveAndEnabled)
     {
         PortraitView.StartCoroutine(SFX.DoHitSplat(Character, details));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Function that adds a hitsplat to the portrait
 /// </summary>
 /// <param name="details">The details needed to customize the splat.</param>
 private void AddHitsplat(SplatDetails details)
 {
     if (portrait != null && portrait.isActiveAndEnabled)
     {
         portrait.StartCoroutine(SFX.DoHitSplat(character, details));
     }
 }