17 lines
305 B
C#
17 lines
305 B
C#
using UnityEngine;
|
|
using UnityEngine.InputSystem;
|
|
|
|
namespace Player
|
|
{
|
|
[RequireComponent(typeof(PlayerInput))]
|
|
public class Player : MonoBehaviour
|
|
{
|
|
public Pawn controlledPawn;
|
|
|
|
private void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
}
|
|
}
|