默认隐藏3D相机

This commit is contained in:
shenjianxing 2025-02-08 17:33:21 +08:00
parent 055142c792
commit 3ac082043d

View File

@ -25,6 +25,7 @@ public class Show3DCamera : MonoBehaviour
instance = this;
self = transform.GetComponent<Camera>();
DontDestroyOnLoad(this);
gameObject.SetActive(false);
}
public void Set(int width,int height, Transform target, float rotateSpeed = 10, float moveSpeed = 0.1f, float distance = 0.1f, float pitchMin = -20, float pitchMax = 80)
{