/// <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)); } }
/// <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)); } }