Пример #1
0
        public void Start()
        {
            _board = Scene.FindEntity <BoardEntity>(BoardEntity.Id);

            if (_board == null)
            {
                throw new Exception("Board entity needed by DissolingRowEntities, not found!");
            }
        }
Пример #2
0
        public void Start()
        {
            _boardEntity = Scene.FindEntity <BoardEntity>(BoardEntity.Id);

            if (_boardEntity == null)
            {
                throw new Exception("Board entity needed by piece entity, which is not found!");
            }
        }