Example #1
0
 // Start is called before the first frame update
 private void Start()
 {
     foreach (ResourceType type in Enum.GetValues(typeof(ResourceType)))
     {
         ResourceDisplay display = Instantiate(ResourceDisplayPrefab, transform, false);
         display.Init(type, Simulation);
     }
 }