unity 上下移动脚本 2016-02-24 本文已影响50人 自由的天空 transform.position = opi + new Vector3(1, 0, 0) * Mathf.PingPong(Time.time, 5);