摘要: transform.localScale = new Vector3(-1, 1, 1); //镜面反转,适合2D游戏前后 GetComponent<Rigidbody>().angularVelocity = Random.insideUnitSphere * XZSpeed;//随机旋转 2. 阅读全文
posted @ 2017-07-24 21:41 sign尊者 阅读(1) 评论(0) 推荐(0)