// Use this for initialization void Start () { // initalize the animationstate InitalizeAnimationClips(); //get the move script moveScript = (PlayerMoveBase)this.transform.parent.GetComponent<PlayerMoveBase>(); main = transform.root.GetComponent<PlayerMainLogic>(); }
// Use this for initialization void Start () { baseControlScript = (PlayerMainLogic)this.GetComponent<PlayerMainLogic>(); }