- Home /
Question by
HwangTaeJun · Apr 29, 2019 at 04:41 AM ·
staticsingleton
When to create singleton and static objects,
[1]: /storage/temp/137206-sd.png
The first time you access an instance of the skill database in the skill class, the instance is already created. Why? After debugging The if statement of the Awake and instance getter of the skill database class did not take place.,
sd.png
(22.2 kB)
Comment
Your answer
Follow this Question
Related Questions
Using static properties that return _instance.variable... 0 Answers
Remnant Empty Game Objects for Static Scripts 1 Answer
Having a static GameObject pointing to a prefab? 1 Answer
Don't render GameObject on load if already hit by player? 1 Answer
Why should I use a game object for non-physical things? 2 Answers