public override IEnumerator PerformFirstPass() { FibreService fibreService = Service.Get <FibreService>(); OutfitService instance = new OutfitService(fibreService); Service.Set(instance); yield break; }
public override IEnumerator PerformFirstPass() { FibreService fibreService = Service.Get <GameObject>().AddComponent <FibreService>(); if (Budget != null) { fibreService.SetBudget(Budget.TimeSlices); } Service.Set(fibreService); yield break; }
public OutfitService(FibreService fibreService) { fibreService.AddFibre("OutfitService:New", 0.5f, fibre); }