void Awake() { _serLoc = aServiceLocator.Instance; _anotherService = aNotherManager.Instance; _agearService = aGearManager.Instance; _anotherService.Init(); _agearService.Init(); }
public void Init() { _serLoc = aServiceLocator.Instance; _serLoc.AddService("AnotherService", Instance); }
public void Init() { _serLoc = aServiceLocator.Instance; _serLoc.AddService("GearService", Instance); }