Merge branch 'master' into AnHui_BaoShi
This commit is contained in:
commit
614c81bf1a
@ -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