public void Start() { _board = Scene.FindEntity <BoardEntity>(BoardEntity.Id); if (_board == null) { throw new Exception("Board entity needed by DissolingRowEntities, not found!"); } }
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!"); } }