예제 #1
0
    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();
    }
예제 #2
0
        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();
        }
예제 #3
0
    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();
    }
예제 #4
0
 public GooglePlayStorage(SuperMonoBehaviour superMonoBehaviour,
                          string fileName,
                          string fileExtension,
                          IJsonConvertor <T> jsonConvertor)
     : base(superMonoBehaviour,
            "Облачное хранилище google play-я",
            fileName,
            fileExtension,
            jsonConvertor)
 {
     loadDataInfo = superMonoBehaviour.CreateCoroutineContainer();
 }
예제 #5
0
 public LocalDataStorage(SuperMonoBehaviour superMonoBehaviour) : base(superMonoBehaviour)
 {
     filePath     = FilePathGetter.GetFilePath(DataModel.FileNameWithExtension);
     loadDataInfo = superMonoBehaviour.CreateCoroutineContainer();
 }
예제 #6
0
 public AnimatorByScript(T animationByScript, SuperMonoBehaviour superMonoBehaviour) : base(superMonoBehaviour)
 {
     this.Animation = animationByScript ?? throw new ArgumentNullException(nameof(animationByScript));
     animationInfo  = superMonoBehaviour.CreateCoroutineContainer();
     SetCommandsOnSwitchingActiveStateGameObject();
 }
예제 #7
0
 public DeviceDataLoader(SuperMonoBehaviour superMonoBehaviour, string filePath) : base(superMonoBehaviour)
 {
     this.filePath = filePath;
     loadDataInfo  = superMonoBehaviour.CreateCoroutineContainer();
 }