コード例 #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();
 }