Код: Выделить всё
public enum Gamemode { ClassicMoves = 0, Classic = 1 };
public class Match3 : MonoBehaviour
{
public Gamemode gamemode;
public int moveLimit = 15;
public int timeLimit = 30;
}
Код: Выделить всё
movelimitПодробнее здесь: https://stackoverflow.com/questions/794 ... -my-enum-c
Мобильная версия