Initial commit
This commit is contained in:
16
code-csharp/en_US/NPCANIMATOR_ChangePlayerState.cs
Normal file
16
code-csharp/en_US/NPCANIMATOR_ChangePlayerState.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class NPCANIMATOR_ChangePlayerState : MonoBehaviour
|
||||
{
|
||||
public PlayerManager Player;
|
||||
|
||||
private void PlayerState_Game()
|
||||
{
|
||||
Player._PlayerState = PlayerManager.PlayerState.Game;
|
||||
}
|
||||
|
||||
private void PlayerState_Cutscene()
|
||||
{
|
||||
Player._PlayerState = PlayerManager.PlayerState.Cutscene;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user