FactionsManager.cs 442 B

12345678910111213141516171819202122
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. namespace KairoEngine.CharacterSystem
  6. {
  7. public class FactionsManager : SerializedMonoBehaviour
  8. {
  9. public List<Faction> factions = new List<Faction>();
  10. void Start()
  11. {
  12. foreach (var faction in factions)
  13. {
  14. faction.Initialize();
  15. }
  16. }
  17. }
  18. }