Questions tagged [initialization]
The initialization tag has no summary.
16 questions
0 votes
1 answer
241 views
A good way of handling MonoBehaviour initialization in Unity?
Recently, I've been experimenting with different ways of initializing MonoBehaviours (since constructors are not an option), and I reached a solution that I am mostly satisfied with, but there are a ...
0 votes
1 answer
127 views
What is the Unity way to ensure that calling "initializing" events in managers happen after subscribing to them?
Example of the situation from the title: I have manager A and B. I subscribe to B's event: <...
0 votes
2 answers
100 views
Updating object's property on Start is visible for a second when game loads
I have a world selection scene in which I have GameObjects representing worlds. The GameObjects have default properties when the ...
0 votes
2 answers
127 views
Separating scene generation and scene starting in Unity?
I'm working on a game, where the map is generated, and: The map is generated in an Awake(), so when an object's Start() is called, the map should be fully initialized. But the scene's physics world ...
2 votes
1 answer
1k views
LibGDX - How to do more things asynchronously
Most documentation only mentions how to load assets asynchronously, eg with code similar to ...
0 votes
1 answer
124 views
Code vs. Configuration in Unity [closed]
I know a thing or two about Unity at this point, but I've still lots of subjective, best practice questions, Such as: How do you decide what values are obtained via Start/Awake initialization, and ...
0 votes
1 answer
262 views
Error when initializing Stage
I made a new class that implements Screen, what I've seen from other people's code is that they create a constructor that takes a parameter of Game game. I did not created a constructor, I think that'...
1 vote
2 answers
244 views
Different ways to load/select characters in a RPG game [closed]
I am brand new here, and have been designing a two player card game where from tens of thousands of cards each player selects up to 80 cards DECK, and then fights with those cards. For reference Yu ...