|
|
@@ -13,6 +13,7 @@ public class HitFeedbackSystem : MonoBehaviour
|
|
|
[TabGroup("śŮÖĄ")] public bool attackFromHasFreezeFrame;
|
|
|
[TabGroup("śŮÖĄ")] [DisplayOnly] public bool isFreeze;
|
|
|
[HideInInspector] public bool canFreeze;
|
|
|
+ [HideInInspector] public bool canBeFreeze = true;
|
|
|
private RigidbodyConstraints origRC;
|
|
|
private Vector3 velocity; //śŮ֥ǰËŮśČ
|
|
|
public CharacterState curCharacterState; //śŮ֥ǰ״̏
|
|
|
@@ -41,7 +42,7 @@ public class HitFeedbackSystem : MonoBehaviour
|
|
|
void FixedUpdate()
|
|
|
{
|
|
|
//śŮÖĄ
|
|
|
- if (isFreeze)
|
|
|
+ if (canBeFreeze && isFreeze)
|
|
|
{
|
|
|
if (character.rb == null)
|
|
|
{
|