[ThirdPerson] Fixes for r180

This commit is contained in:
NotAKidoS 2025-08-19 23:30:16 -05:00
parent faf9d48fb6
commit ee4df06d2e
3 changed files with 6 additions and 8 deletions

View file

@ -1,7 +1,6 @@
using ABI_RC.Core.Player;
using ABI_RC.Core.Savior;
using ABI_RC.Core.Util.Object_Behaviour;
using System.Collections;
using ABI_RC.Core;
using ABI.CCK.Components;
using UnityEngine;
@ -42,10 +41,8 @@ internal static class CameraLogic
}
}
internal static IEnumerator SetupCamera()
internal static void SetupCamera()
{
yield return new WaitUntil(() => PlayerSetup.Instance);
_thirdPersonCam = new GameObject("ThirdPersonCameraObj", typeof(Camera)).GetComponent<Camera>();
_cameraFovClone = _thirdPersonCam.gameObject.AddComponent<CameraFovClone>();