Hello
Faced with an incomprehensible situation for me
There are several components of the game. Depending on the mode, one of the components works. All components are Drawable
When called from the Draw method component, the method executes but nothing is drawn
I have a component that contains the following code (the code is not complete)
The Draw() method is called. The instructions are executed, but nothing happens
No, I’m using Windows 10, visual studio 2019, monogame 3.7
My code worked before
I added new components and new classes, the old ones did not change
Could I have misused the components? I create all the components in the Game1 class in the Initialize() method and add them to the game before calling base()
At the moment I have about 20 components
Recently faced a problem that when adding a component there was an exception: something like the component is added twice. But I don’t add the same component twice. Could that be the reason?