private void Awake() { MP = MaxMP; audioSource = GetComponent <AudioSource>(); buttleState = ButtleState.Instance; posingController = GetComponent <PosingController>(); }
// Initialize this game state. public override void OnInitializeState () { base.OnInitializeState (); rig = GetComponentInChildren<PosingController> (); keyFrames = new HandlePositionPairSet [numFrames]; }