默认隐藏3D相机
This commit is contained in:
parent
055142c792
commit
3ac082043d
@ -25,6 +25,7 @@ public class Show3DCamera : MonoBehaviour
|
|||||||
instance = this;
|
instance = this;
|
||||||
self = transform.GetComponent<Camera>();
|
self = transform.GetComponent<Camera>();
|
||||||
DontDestroyOnLoad(this);
|
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)
|
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)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user