private void Awake() { m_TrowHookAct = gameObject.GetComponent <AIThrowHookAct>(); m_BeatBackAct = gameObject.GetComponent <AIBeatBackAct>(); m_PursureAct = gameObject.GetComponent <AIPursueAct>(); m_HookPos = gameObject.GetComponentInChildren <AIHookPosition>(); m_HookTool = gameObject.GetComponentInChildren <AIHook>(); }
private void Start() { m_ThrowHookAct = GetComponentInParent <AIThrowHookAct>(); }