public bool IsNowProcess(GOAL_TYPE type) { if (subGoals.Count <= 0) { return(false); } return(subGoals.Peek().goalType == type); }
public override void OnAwake() { goalType = GetGoalType(); }