2025-07-09 09:45:11 +00:00
|
|
|
namespace DDD
|
|
|
|
{
|
|
|
|
public class RestaurantPlayerCharacter : RestaurantCharacter
|
|
|
|
{
|
2025-08-19 09:24:46 +00:00
|
|
|
protected override async void Awake()
|
2025-08-14 04:46:36 +00:00
|
|
|
{
|
|
|
|
base.Awake();
|
2025-08-17 06:02:28 +00:00
|
|
|
|
2025-08-19 09:24:46 +00:00
|
|
|
PlayerManager.Instance.RegisterPlayer(gameObject);
|
2025-08-17 06:02:28 +00:00
|
|
|
}
|
|
|
|
|
2025-08-19 09:24:46 +00:00
|
|
|
protected override void Start()
|
2025-08-17 06:02:28 +00:00
|
|
|
{
|
2025-08-19 09:24:46 +00:00
|
|
|
base.Start();
|
|
|
|
|
|
|
|
var cameraObject = CameraManager.Instance.GetCameraGameObject(CameraType.RestaurantBaseCamera);
|
|
|
|
cameraObject.SetFollowAndLookAtTarget(transform);
|
2025-08-14 04:46:36 +00:00
|
|
|
}
|
2025-07-09 09:45:11 +00:00
|
|
|
}
|
|
|
|
}
|