示例#1
0
    //private


    void Start()
    {
        cbf = GetComponent <CreateBulletFunc> ();
    }
示例#2
0
 // Use this for initialization
 void Start()
 {
     createBullet = GetComponent <CreateBulletFunc> ();
     arsenal      = transform.parent.gameObject.GetComponent <Arsenal> ();
 }
示例#3
0
 void Start()
 {
     animator = GetComponent <Animator> ();
     cbf      = GetComponent <CreateBulletFunc>();
     StartCoroutine(Wait());
 }