void OnDisable() { print("ONSAPPERDISABLE"); _instance = null; GestureController.OnCellShortTap -= CellShortTapHandler; GestureController.OnCellLongTap -= CellLongTapHandler; }
void Start() { DeminedMinesCount = 0; OpenedCellsCount = 0; _instance = this; GestureController.OnCellShortTap += CellShortTapHandler; GestureController.OnCellLongTap += CellLongTapHandler; }
void Start() { _instance = this; GestureController.OnCellShortTap += CellShortTapHandler; GestureController.OnCellLongTap += CellLongTapHandler; }