mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-04 23:39:22 +00:00
[ThirdPerson] Fixes for r180
This commit is contained in:
parent
faf9d48fb6
commit
ee4df06d2e
3 changed files with 6 additions and 8 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue