public static void DoCameraNear(float time, float dis, float waitTime) { CameraMove c = Camera.main.transform.GetComponent <CameraMove>(); c.DoNear(time, dis, waitTime); }