no message
This commit is contained in:
@@ -6,6 +6,7 @@ using UnityEngine.UI;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
using TMPro;
|
||||
using System.Collections;
|
||||
using RootMotion.FinalIK;
|
||||
|
||||
namespace Beyond
|
||||
{
|
||||
@@ -375,11 +376,14 @@ namespace Beyond
|
||||
|
||||
public void EnableDamageSprite(vDamage damage)
|
||||
{
|
||||
if (damageImage != null)
|
||||
if (damageImage != null && damage.hitReaction)
|
||||
{
|
||||
damageImage.enabled = true;
|
||||
damaged = true;
|
||||
damaged = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void UpdateDebugWindow(vThirdPersonController cc)
|
||||
{
|
||||
if (cc.debugWindow)
|
||||
|
||||
Reference in New Issue
Block a user