修复 办公室场景来回跳 不显示 相机得问题

This commit is contained in:
YangHua 2024-09-05 12:59:23 +08:00
parent b45f5190d8
commit cab83a480d
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public class OfficeManager : SingletonMono<OfficeManager>
/// </summary>
public MobileController mobileController;
private FirstPersonController firstPersonController;
void Start()
protected override void Awake()
{
firstPersonController = GameObject.FindGameObjectWithTag("Player").GetComponent<FirstPersonController>();
firstPersonController.gameObject.SetActive(false);