Пример #1
0
 void OnDisable()
 {
     print("ONSAPPERDISABLE");
     _instance = null;
     GestureController.OnCellShortTap -= CellShortTapHandler;
     GestureController.OnCellLongTap -= CellLongTapHandler;
 }
Пример #2
0
    void Start()
    {
        DeminedMinesCount = 0;
        OpenedCellsCount = 0;

        _instance = this;
        GestureController.OnCellShortTap += CellShortTapHandler;
        GestureController.OnCellLongTap += CellLongTapHandler;
    }
Пример #3
0
 void Start()
 {
     _instance = this;
     GestureController.OnCellShortTap += CellShortTapHandler;
     GestureController.OnCellLongTap += CellLongTapHandler;
 }