public RewardedAdLoader(SuperMonoBehaviour superMonoBehaviour, CommandQueueMainThreadExecutor commandQueueHandler) { this.commandQueueHandler = commandQueueHandler != null ? commandQueueHandler : throw new ArgumentNullException(nameof(commandQueueHandler)); this.superMonoBehaviour = superMonoBehaviour != null ? superMonoBehaviour : throw new ArgumentNullException(nameof(superMonoBehaviour)); tryToReLoadAdInfo = superMonoBehaviour.CreateCoroutineContainer(); CreateNewRewardedAd(); }
public Synchronizer(SuperMonoBehaviour superMonoBehaviour, IModelInteraction <T> model, ReaderWriter <T> readerWriter) : base(superMonoBehaviour) { this.model = model ?? throw new ArgumentNullException(nameof(model)); this.readerWriter = readerWriter ?? throw new ArgumentNullException(nameof(readerWriter)); ChooseDataInfo = superMonoBehaviour.CreateCoroutineContainer(); }
public ColorSchemeGenerator(SuperMonoBehaviour superMonoBehaviour, ColorSchemeData colorSchemeData, Image backgroundImageToCamera) { this.superMonoBehaviour = superMonoBehaviour != null ? superMonoBehaviour : throw new System.ArgumentNullException(nameof(superMonoBehaviour)); this.colorSchemeData = colorSchemeData != null ? colorSchemeData : throw new System.ArgumentNullException(nameof(colorSchemeData)); this.backgroundImageToCamera = backgroundImageToCamera != null ? backgroundImageToCamera : throw new System.ArgumentNullException(nameof(backgroundImageToCamera)); changeColorSchemeInfo = superMonoBehaviour.CreateCoroutineContainer(); }
public GooglePlayStorage(SuperMonoBehaviour superMonoBehaviour, string fileName, string fileExtension, IJsonConvertor <T> jsonConvertor) : base(superMonoBehaviour, "Облачное хранилище google play-я", fileName, fileExtension, jsonConvertor) { loadDataInfo = superMonoBehaviour.CreateCoroutineContainer(); }
public LocalDataStorage(SuperMonoBehaviour superMonoBehaviour) : base(superMonoBehaviour) { filePath = FilePathGetter.GetFilePath(DataModel.FileNameWithExtension); loadDataInfo = superMonoBehaviour.CreateCoroutineContainer(); }
public AnimatorByScript(T animationByScript, SuperMonoBehaviour superMonoBehaviour) : base(superMonoBehaviour) { this.Animation = animationByScript ?? throw new ArgumentNullException(nameof(animationByScript)); animationInfo = superMonoBehaviour.CreateCoroutineContainer(); SetCommandsOnSwitchingActiveStateGameObject(); }
public DeviceDataLoader(SuperMonoBehaviour superMonoBehaviour, string filePath) : base(superMonoBehaviour) { this.filePath = filePath; loadDataInfo = superMonoBehaviour.CreateCoroutineContainer(); }