20 lines
375 B
C#
20 lines
375 B
C#
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace BITFALL.HotFix
|
||
|
{
|
||
|
public class OpenWorldFPVFix : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] private Transform cameraPoint;
|
||
|
private async void Start()
|
||
|
{
|
||
|
await Task.Delay(100, destroyCancellationToken);
|
||
|
cameraPoint.parent = null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|