Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     rbody = GetComponent <Rigidbody2D>();
     hand  = GetComponent <Shotpot_Hand>();
 }
 private void Start()
 {
     rbody    = GetComponent <Rigidbody2D>();
     hand     = GetComponentInParent <Shotpot_Hand>();
     startRot = rbody.rotation;
 }