Пример #1
0
        void UpdateDisplay(MapVariant mapVariant)
        {
            ignoreChangeEvents = true;

            //baseMapName.text = Maps.GetMapByID(sandbox.header.MapID).mapName + ", " + sandbox.header.MapID;
            editedMapName.text        = mapVariant.VariantName;
            editedMapDescription.text = mapVariant.VariantDescription;
            editedMapAuthor.text      = mapVariant.VariantAuthor;
            lastEditDate.text         = TimestampHelper.ToDateTime(mapVariant.VariantCreationDate).ToString();

            ignoreChangeEvents = false;
        }