摘要:
using UnityEngine;using System.Collections;public class Bullet : MonoBehaviour { public float speed=2f; // Use this for initialization void Start () {... 阅读全文
摘要:
public class Gun : MonoBehaviour { public float rate=0.2f; public GameObject bullet; // Use this for initialization void Start () { openFire (); } /... 阅读全文