Example #1
0
    //private


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