Example #1
0
    //-----------------------------------------------------------------------------------------------------------
    // Use this for initialization
    void Start()
    {
        GameObject currentMapObject = GameObject.FindWithTag("CurrentMap");

        if (currentMapObject)
        {
            MapDatabase.MapItem currentMapDb = MapDatabase.GetMapByName(currentMapObject.name);
            if (currentMapDb != null)
            {
                signList = SignDatabase.GetSignsOfMap(currentMapDb.m_uniqueId);
            }
        }
    }