Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     lr  = GetComponent <LineRenderer>();
     bow = GetComponentInParent <BBow>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     rb    = GetComponent <Rigidbody2D>();
     sound = GetComponent <AudioSource>();
     bow   = GetComponent <BBow>();
 }