Пример #1
0
        private void Awake()
        {
            if (_instance != null && _instance != this)
            {
                Destroy(this);
            }
            else
            {
                _instance = this;
            }

            gridSize   = 12;
            gridMargin = 4;
        }
 private void Start()
 {
     grid = _Grid.instance;
 }