ProjectDDD/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerCharacter.cs
2025-08-27 17:25:11 +09:00

23 lines
582 B
C#

using UnityEngine;
namespace DDD.Restaurant
{
[RequireComponent(typeof(PlayerMovement))]
public class PlayerCharacter : RestaurantCharacter
{
protected override void Awake()
{
base.Awake();
PlayerManager.Instance.RegisterPlayer(gameObject);
}
protected override void Start()
{
base.Start();
var cameraObject = CameraManager.Instance.GetCameraGameObject(CameraType.RestaurantBaseCamera);
cameraObject.SetFollowAndLookAtTarget(transform);
}
}
}