예제 #1
0
 // Use this for initialization
 void Awake()
 {
     centerOfMass   = transform.parent;
     Pouch          = GetComponent <CoinPouch>();
     allomancer     = GetComponentInParent <AllomanticIronSteel>();
     distanceToHand = transform.localPosition.magnitude;
 }
예제 #2
0
파일: Hand.cs 프로젝트: gkjolin/Invested
 // Use this for initialization
 void Awake()
 {
     centerOfMass   = transform.parent;
     pouch          = GetComponent <CoinPouch>();
     distanceToHand = transform.localPosition.magnitude;
 }