예제 #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));
     }
 }
예제 #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));
     }
 }