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