Basic player select screen

This commit is contained in:
RochesterX
2025-02-16 16:47:45 -05:00
parent f688173770
commit 543590347a
27 changed files with 8706 additions and 142 deletions

View File

@@ -1,7 +1,6 @@
using UnityEngine;
using UnityEngine.InputSystem;
[RequireComponent(typeof(PlayerMovement))]
[RequireComponent(typeof(PlayerInput))]
[RequireComponent(typeof(AnimationPlayer))]
public class Punch : MonoBehaviour
@@ -35,12 +34,12 @@ public class Punch : MonoBehaviour
public void EnableHurtbox()
{
hurtbox.enabled = true;
if (hurtbox != null) hurtbox.enabled = true;
}
public void DisableHurtbox()
{
hurtbox.enabled = false;
if (hurtbox != null) hurtbox.enabled = false;
}
public void DisableCancellation()