2023-11-21 18:05:18 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace BITFALL.HotFix
|
|
|
|
{
|
|
|
|
public class FPVScaleFix : MonoBehaviour
|
|
|
|
{
|
2023-12-16 23:30:08 +08:00
|
|
|
[SerializeField] private Transform fpvScale;
|
2023-12-30 17:37:48 +08:00
|
|
|
|
|
|
|
private void Update()
|
|
|
|
{
|
|
|
|
fpvScale.localScale = Vector3.zero;
|
|
|
|
}
|
|
|
|
|
2023-11-21 18:05:18 +08:00
|
|
|
private void LateUpdate()
|
|
|
|
{
|
2023-12-16 23:30:08 +08:00
|
|
|
fpvScale.localScale = Vector3.zero;
|
2023-11-21 18:05:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|