private void Awake() { m_turtleAnimator = transform.FindChild("Turtle").GetComponent <Animator>(); m_gestureAnalyser = new GestureAnalyser(m_gestureTracker); m_animationAnalyser = new AnimationAnalyser(m_turtleAnimator); m_pauseAction = false; m_allowAnalyzeGesture = false; m_allowAnalyzeAnimation = false; }
public ActionPlayModeBase(GameObject owner) : base(owner) { m_playerClass = owner.GetComponent <Player>(); m_gestureAnalyser = m_playerClass.GestureAnalyser; m_animationAnalyser = m_playerClass.AnimationAnalyser; }