Example #1
0
    // Use this for initialization
    void Start()
    {
        // 초기 상태 지정
        state   = AiState.Finding;
        astarAI = GetComponent <IAstarAI>();

        scrapManager = FindObjectOfType <ScrapManager>();
        animation    = GetComponent <EmployeeAnimation>();
    }
Example #2
0
    private void Awake()
    {
        astarAI = GetComponent <IAstarAI>();

        animation = GetComponent <EmployeeAnimation>();
    }