Search found 1 match
- Thu Sep 22, 2022 11:39 am
- Forum: General Discussion
- Topic: How to instantiate the game state?
- Replies: 1
- Views: 555
How to instantiate the game state?
Suppose I have the following: public class EntityManager { static EntityManager globalEntityManagerInstance; public List<Entity> entities = new List<Entity>(); } public class Entity { public int health; public void OnLoad {Debug.Log("Loaded");} } EntityManager.globalEntityManagerInstance =...