Example #1
0
    void OnInstructorActivate(bool active)
    {
        if (!active)
        {
            return;
        }

        m_NPCType = ENPCGridType.Instructor;

        _refreshNPCGrids();
        mGridPageIndex = 0;
        GridRange();
    }
Example #2
0
    void OnWorkerActivate(bool active)
    {
        if (!active)
        {
            return;
        }

        m_NPCType = ENPCGridType.Worker;

        _refreshNPCGrids();
        mGridPageIndex = 0;
        GridRange();
    }