摘要: using UnityEngine;using System.Collections;public class Bullet : MonoBehaviour { public float speed=2f; // Use this for initialization void Start () {... 阅读全文
posted @ 2015-04-27 19:42 Kim-teng 阅读(342) 评论(0) 推荐(0) 编辑
摘要: public class Gun : MonoBehaviour { public float rate=0.2f; public GameObject bullet; // Use this for initialization void Start () { openFire (); } /... 阅读全文
posted @ 2015-04-27 19:38 Kim-teng 阅读(1277) 评论(0) 推荐(0) 编辑