Beispiel #1
0
 // Use this for initialization
 void Awake()
 {
     centerOfMass   = transform.parent;
     Pouch          = GetComponent <CoinPouch>();
     allomancer     = GetComponentInParent <AllomanticIronSteel>();
     distanceToHand = transform.localPosition.magnitude;
 }
Beispiel #2
0
 // Use this for initialization
 void Awake()
 {
     centerOfMass   = transform.parent;
     pouch          = GetComponent <CoinPouch>();
     distanceToHand = transform.localPosition.magnitude;
 }