Files
project-reset/Assets/Scripts/Player/Player.cs
2025-09-03 16:59:54 -04:00

30 lines
566 B
C#

using System;
using Reset;
using Reset.Core.Tools;
using UnityEngine;
using Sirenix.OdinInspector;
public class Player : MonoBehaviour{
[HideInInspector] public PlayerControls controls;
[HideInInspector] public new PlayerCamera camera;
void Awake(){
GameManager.Player = gameObject;
controls = GetComponent<PlayerControls>();
GameManager.RequestNewController();
}
void Start()
{
Debug.Log(GameManager.Player);
}
// Update is called once per frame
void Update()
{
}
}