private void Awake() { reloader = GetComponent <IReloadService>(); clip = GetComponent <IClip>(); userCommunicator = GetComponent <IUserCommunicator>(); //clip.onAmmoChange.AddListener((x) => OnAmmoChange()); }
public EditorController(IFileConfigurationRepository fileConfigurationRepository, IReloadService reload, IServiceProvider serviceProvider) { _fileConfigRepo = fileConfigurationRepository; _reload = reload; _serviceProvider = serviceProvider; }
public EditorController(IFileConfigurationRepository fileConfigurationRepository, IReloadService reload) { _fileConfigRepo = fileConfigurationRepository; _reload = reload; }
public ContentFileFacts() { _config = Substitute.For <IFileConfigurationRepository>(); _reload = Substitute.For <IReloadService>(); }