// Use this for initialization void Start() { // 초기 상태 지정 state = AiState.Finding; astarAI = GetComponent <IAstarAI>(); scrapManager = FindObjectOfType <ScrapManager>(); animation = GetComponent <EmployeeAnimation>(); }
private void Awake() { astarAI = GetComponent <IAstarAI>(); animation = GetComponent <EmployeeAnimation>(); }