Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     pickupRadius = 1;
     player       = FindObjectOfType <MvmtBody> ();
     playerWeapon = FindObjectOfType <CurrentWeapon> ();
     thisStats    = GetComponent <ThisWeapon> ();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     m_body = GetComponent <Rigidbody2D> ();
     player = GameObject.FindObjectOfType <MvmtBody>();
 }