protected override void Awake() { base.Awake(); chaser = Utils.GetRequiredComponent <Chaser>(this); responder = Utils.GetRequiredComponent <Responder>(this); searcher = Utils.GetRequiredComponent <Searcher>(this); patroller = Utils.GetRequiredComponent <Patroller>(this); waiter = Utils.GetRequiredComponent <Waiter>(this); animator = Utils.GetRequiredComponentInChildren <ChildRootMotionController>(this); enemy = Utils.GetRequiredComponent <Enemy>(this); }
protected override void Awake() { base.Awake(); rootMotionController = Utils.GetRequiredComponentInChildren <ChildRootMotionController>(this); enemy = Utils.GetRequiredComponent <Enemy>(this); }