diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..c8cb4a6
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,86 @@
+* text=auto
+
+# Unity files
+*.meta -text merge=unityyamlmerge diff
+*.unity -text merge=unityyamlmerge diff
+*.asset -text merge=unityyamlmerge diff
+*.prefab -text merge=unityyamlmerge diff
+*.mat -text merge=unityyamlmerge diff
+*.anim -text merge=unityyamlmerge diff
+*.controller -text merge=unityyamlmerge diff
+*.overrideController -text merge=unityyamlmerge diff
+*.physicMaterial -text merge=unityyamlmerge diff
+*.physicsMaterial2D -text merge=unityyamlmerge diff
+*.playable -text merge=unityyamlmerge diff
+*.mask -text merge=unityyamlmerge diff
+*.brush -text merge=unityyamlmerge diff
+*.flare -text merge=unityyamlmerge diff
+*.fontsettings -text merge=unityyamlmerge diff
+*.guiskin -text merge=unityyamlmerge diff
+*.giparams -text merge=unityyamlmerge diff
+*.renderTexture -text merge=unityyamlmerge diff
+*.spriteatlas -text merge=unityyamlmerge diff
+*.terrainlayer -text merge=unityyamlmerge diff
+*.mixer -text merge=unityyamlmerge diff
+*.shadervariants -text merge=unityyamlmerge diff
+
+# Image formats
+*.psd filter=lfs diff=lfs merge=lfs -text
+*.jpg filter=lfs diff=lfs merge=lfs -text
+*.png filter=lfs diff=lfs merge=lfs -text
+*.gif filter=lfs diff=lfs merge=lfs -text
+*.bmp filter=lfs diff=lfs merge=lfs -text
+*.tga filter=lfs diff=lfs merge=lfs -text
+*.tiff filter=lfs diff=lfs merge=lfs -text
+*.tif filter=lfs diff=lfs merge=lfs -text
+*.iff filter=lfs diff=lfs merge=lfs -text
+*.pict filter=lfs diff=lfs merge=lfs -text
+*.dds filter=lfs diff=lfs merge=lfs -text
+*.xcf filter=lfs diff=lfs merge=lfs -text
+
+# Audio formats
+*.mp3 filter=lfs diff=lfs merge=lfs -text
+*.ogg filter=lfs diff=lfs merge=lfs -text
+*.wav filter=lfs diff=lfs merge=lfs -text
+*.aiff filter=lfs diff=lfs merge=lfs -text
+*.aif filter=lfs diff=lfs merge=lfs -text
+*.mod filter=lfs diff=lfs merge=lfs -text
+*.it filter=lfs diff=lfs merge=lfs -text
+*.s3m filter=lfs diff=lfs merge=lfs -text
+*.xm filter=lfs diff=lfs merge=lfs -text
+
+# Video formats
+*.mov filter=lfs diff=lfs merge=lfs -text
+*.avi filter=lfs diff=lfs merge=lfs -text
+*.asf filter=lfs diff=lfs merge=lfs -text
+*.mpg filter=lfs diff=lfs merge=lfs -text
+*.mpeg filter=lfs diff=lfs merge=lfs -text
+*.mp4 filter=lfs diff=lfs merge=lfs -text
+
+# 3D formats
+*.fbx filter=lfs diff=lfs merge=lfs -text
+*.obj filter=lfs diff=lfs merge=lfs -text
+*.max filter=lfs diff=lfs merge=lfs -text
+*.blend filter=lfs diff=lfs merge=lfs -text
+*.dae filter=lfs diff=lfs merge=lfs -text
+*.mb filter=lfs diff=lfs merge=lfs -text
+*.ma filter=lfs diff=lfs merge=lfs -text
+*.3ds filter=lfs diff=lfs merge=lfs -text
+*.dfx filter=lfs diff=lfs merge=lfs -text
+*.c4d filter=lfs diff=lfs merge=lfs -text
+*.lwo filter=lfs diff=lfs merge=lfs -text
+*.lwo2 filter=lfs diff=lfs merge=lfs -text
+*.abc filter=lfs diff=lfs merge=lfs -text
+*.3dm filter=lfs diff=lfs merge=lfs -text
+
+# Build
+*.dll filter=lfs diff=lfs merge=lfs -text
+*.pdb filter=lfs diff=lfs merge=lfs -text
+*.mdb filter=lfs diff=lfs merge=lfs -text
+
+# Packaging
+*.zip filter=lfs diff=lfs merge=lfs -text
+*.7z filter=lfs diff=lfs merge=lfs -text
+*.gz filter=lfs diff=lfs merge=lfs -text
+*.rar filter=lfs diff=lfs merge=lfs -text
+*.tar filter=lfs diff=lfs merge=lfs -text
diff --git a/.gitignore b/.gitignore
index e9558d7..0d9eeb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,33 +1,49 @@
-# Unity
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
+[Bb]uild/
+[Bb]uilds/
+[Ll]ogs/
+.idea/
-_UpgradeReport_Files/
-# Unity?
-*.pidb
+# Uncomment this line if you wish to ignore the asset store tools plugin
+# [Aa]ssets/AssetStoreTools*
+
+# Visual Studio cache directory
+.vs/
+
+# Gradle cache directory
+.gradle/
+
+# Autogenerated VS/MD/Consulo solution and project files
+ExportedObj/
+.consulo/
*.csproj
*.unityproj
+*.sln
+*.suo
+*.tmp
+*.user
+*.userprefs
+*.pidb
*.booproj
-UpgradeLog*
-*.dat
-UpgradeLog*
-MIKOMA.sdf
-MIKOMA.VC.opendb
+*.svd
+*.pdb
+*.mdb
+*.opendb
+*.VC.db
-# Mac
-*.DS_Store
-*.Thumbs.db.*
+# Unity3D generated meta files
+*.pidb.meta
+*.pdb.meta
+*.mdb.meta
-# Unity? MonoDevelop?
-*.svd
-*.user
-*.userprefs
-*.suo
-*.sln
-/*.png
-*.log
-Build/
-Assets/ExcludeAssets
-UnitTestResults.xml
-.vs/
\ No newline at end of file
+# Unity3D generated file on crash reports
+sysinfo.txt
+
+# Builds
+*.apk
+*.unitypackage
+
+# Crashlytics generated file
+crashlytics-build.properties
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/LoginPanel/LoginManager.cs b/Assets/NicoliveClient/Example/Console/Scripts/LoginPanel/LoginManager.cs
deleted file mode 100644
index d906159..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/LoginPanel/LoginManager.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using UniRx;
-using UnityEngine;
-
-namespace NicoliveClient.Example
-{
- ///
- /// ログイン状態の管理
- ///
- public class LoginManager : MonoBehaviour
- {
- ///
- /// ログイン中のユーザ情報
- ///
- public NiconicoUser CurrentUser { get; private set; }
-
- private ReactiveProperty _isLoggedIn = new ReactiveProperty();
-
- private ReactiveProperty _errorMessage = new ReactiveProperty();
-
-
- ///
- /// ログイン状態であるか
- ///
- public IReadOnlyReactiveProperty IsLoggedIn
- {
- get { return _isLoggedIn; }
- }
-
- ///
- /// ログイン失敗時のメッセージ
- ///
- public IReadOnlyReactiveProperty ErrorMessage
- {
- get { return _errorMessage; }
- }
-
-
- ///
- /// ログイン処理を実行する
- ///
- public void Login(string mail, string pass)
- {
- _errorMessage.Value = "";
-
- NiconicoUserClient.LoginAsync(mail, pass)
- .Subscribe(x =>
- {
- CurrentUser = x;
- _isLoggedIn.Value = true;
- }, ex =>
- {
- _errorMessage.Value = ex.Message;
- _isLoggedIn.Value = false;
- });
- }
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/LoginPanel/LoginPresenter.cs b/Assets/NicoliveClient/Example/Console/Scripts/LoginPanel/LoginPresenter.cs
deleted file mode 100644
index aec757d..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/LoginPanel/LoginPresenter.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- ///
- /// ログイン画面のUIとの接合部
- ///
- public class LoginPresenter : MonoBehaviour
- {
- [SerializeField] private LoginManager _loginManager;
-
- [SerializeField] private InputField _mail;
- [SerializeField] private InputField _pass;
- [SerializeField] private Button _singIn;
- [SerializeField] private Text _errorMessage;
-
- void Start()
- {
- //ログインボタンが押された
- _singIn.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(3)) //連打防止
- .Subscribe(_ =>
- {
- _loginManager.Login(_mail.text, _pass.text);
- });
-
- //エラーメッセージ表示
- _loginManager.ErrorMessage.SubscribeToText(_errorMessage);
-
- }
-
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/EnquetePanel/EnquetePanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/EnquetePanel/EnquetePanel.cs
deleted file mode 100644
index 314f3c9..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/EnquetePanel/EnquetePanel.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-using System;
-using System.Linq;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- public class EnquetePanel : MonoBehaviour
- {
- [SerializeField] private NicoliveSampleManager _manager;
-
- [SerializeField] private Button StartButton;
- [SerializeField] private Button ShowResultButton;
- [SerializeField] private Button EndButton;
-
- [SerializeField] private InputField QuestionTitleInputField;
- [SerializeField] private InputField[] itemInputFields;
-
- [SerializeField] private Text ResultLabel;
-
- void Start()
- {
- //アンケート開始
- StartButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(3)) //連打防止
- .Subscribe(_ =>
- {
- var title = QuestionTitleInputField.text;
- var items = itemInputFields.Select(x => x.text);
-
- _manager.NicoliveApiClient
- .StartEnqueteAsync(title, items)
- .Subscribe(__ => ResultLabel.text = "アンケートを開始しました", Debug.LogError);
-
- });
-
- //アンケート結果の表示&取得
- ShowResultButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(3)) //連打防止
- .Subscribe(_ =>
- {
- _manager.NicoliveApiClient
- .ShowResultEnqueteAsync()
- .Subscribe(result =>
- {
- var message = result.Items.Select(x => string.Format("{0}:{1}%", x.Name, x.Rate))
- .Aggregate((p, c) => p + " / " + c);
- ResultLabel.text = message;
- }, Debug.LogError);
- });
-
-
- //アンケートの終了
- EndButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(3)) //連打防止
- .Subscribe(_ =>
- {
- _manager.NicoliveApiClient
- .FinishEnqueteAsync()
- .Subscribe(__ => ResultLabel.text = "アンケートを終了しました", Debug.LogError);
- });
-
- }
-
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/OperatorCommentPanel/OperatorCommentPanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/OperatorCommentPanel/OperatorCommentPanel.cs
deleted file mode 100644
index 5c88ea9..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/OperatorCommentPanel/OperatorCommentPanel.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- ///
- /// 運営コメントパネルのUI
- ///
- public class OperatorCommentPanel : MonoBehaviour
- {
- [SerializeField] private NicoliveSampleManager _manager;
-
- [SerializeField] private InputField _nameInputField;
- [SerializeField] private InputField _bodyInputField;
- [SerializeField] private Dropdown _colorDropdown;
- [SerializeField] private Toggle _isPermanentToggle;
- [SerializeField] private Button _sendButton;
- [SerializeField] private Button _deleteButton;
- void Start()
- {
- _sendButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(1)) //連打防止
- .Subscribe(_ =>
- {
-
- //運営コメント送信
- _manager.NicoliveApiClient
- .SendOperatorCommentAsync(
- _bodyInputField.text,
- _nameInputField.text,
- _colorDropdown.options[_colorDropdown.value].text,
- _isPermanentToggle.isOn
- ).Subscribe(__ => { }, Debug.LogError);
- });
-
- _deleteButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(1)) //連打防止
- .Subscribe(_ =>
- {
-
- //運営コメント削除
- _manager.NicoliveApiClient
- .DeleteOperatorCommentAsync()
- .Subscribe(__ => { }, Debug.LogError);
- });
- }
-
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramIdPanel/ProgramIdPanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramIdPanel/ProgramIdPanel.cs
deleted file mode 100644
index 6fe520a..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramIdPanel/ProgramIdPanel.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using System;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- ///
- /// 番組ID部分のUI表示
- ///
- public class ProgramIdPanel : MonoBehaviour
- {
- [SerializeField] private NicoliveSampleManager _manager;
-
- [SerializeField] private InputField _programIdInputField;
- [SerializeField] private Button _getCurrentProgramIdButton;
- [SerializeField] private Button _setProgramIdButton;
- [SerializeField] private Text _currentProgramIdText;
-
- void Start()
- {
- _getCurrentProgramIdButton
- .OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(3)) //連打防止
- .Subscribe(_ =>
- {
- //取得したIDは一旦UIに反映
- _manager.GetCurrentProgramIdAsync()
- .Subscribe(x => _programIdInputField.text = x, Debug.LogError);
- });
-
- //設定ボタンが押されたらUIの値を反映する
- _setProgramIdButton.OnClickAsObservable()
- .Subscribe(_ => _manager.SetTargetProgramId(_programIdInputField.text));
-
- //現在の操作対象lv表示
- _manager.CurrentProgramId
- .SubscribeToText(_currentProgramIdText);
- }
-
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramInfoPanel/ProgramInfoPanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramInfoPanel/ProgramInfoPanel.cs
deleted file mode 100644
index 6379343..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramInfoPanel/ProgramInfoPanel.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-using System.Linq;
-using System.Text;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- public class ProgramInfoPanel : MonoBehaviour
- {
- [SerializeField] private NicoliveSampleManager _manager;
-
- [SerializeField] private Button _getButton;
- [SerializeField] private Text _programInfoLabel;
-
- void Start()
- {
- _getButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(5))
- .Subscribe(_ =>
- {
- _manager.NicoliveApiClient.GetProgramInfoAsync()
- .Subscribe(programInfo =>
- {
- //番組情報を取得して一部を表示する
- var builder = new StringBuilder();
- builder.Append("title:" + programInfo.Title + "\n");
- builder.Append("type:" + programInfo.SocialGroup.Type.ToString() + "\n");
- builder.Append("socialGroupId:" + programInfo.SocialGroup.Id + "\n");
- builder.Append("tags:" + programInfo.Categories.Aggregate((p, c) => p + "," + c) + "\n");
- builder.Append("room count:" + programInfo.Rooms.Length + "\n");
- builder.Append("status:" + programInfo.Status.ToString() + "\n");
- _programInfoLabel.text = builder.ToString();
-
- //部屋一覧を登録する
- foreach (var room in programInfo.Rooms)
- {
- if (!_manager.CurrentRooms.ContainsKey(room.Id))
- {
- _manager.CurrentRooms[room.Id] = room;
- }
- }
- }, Debug.LogError);
- });
- }
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramStatisticsPanel/ProgramStatisticsPanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramStatisticsPanel/ProgramStatisticsPanel.cs
deleted file mode 100644
index febc1b5..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ProgramStatisticsPanel/ProgramStatisticsPanel.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-using System.Linq;
-using System.Text;
-using NicoliveClient.Example;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- public class ProgramStatisticsPanel : MonoBehaviour
- {
-
- [SerializeField] private NicoliveSampleManager _manager;
-
- [SerializeField] private Button _getButton;
- [SerializeField] private Text _programStatisticsLabel;
-
- void Start()
- {
- var command = _manager.IsSetProgramId.ToReactiveCommand();
-
- _getButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(5))
- .Subscribe(_ => command.Execute());
-
- command.Subscribe(_ =>
- {
- _manager.NicoliveApiClient.GetProgramStatisticsAsync()
- .Subscribe(result =>
- {
- _programStatisticsLabel.text =
- string.Format("来場者数:{0} / コメント数:{1}", result.WatchCount, result.CommentCount);
- }, Debug.LogError);
- });
- }
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ScheduledProgramPanel/ScheduledProgramPanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ScheduledProgramPanel/ScheduledProgramPanel.cs
deleted file mode 100644
index a1712e6..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/ScheduledProgramPanel/ScheduledProgramPanel.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using System.Text;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- public class ScheduledProgramPanel : MonoBehaviour
- {
- [SerializeField]
- private NicoliveSampleManager _manager;
-
- [SerializeField]
- private Button _getButton;
-
- [SerializeField]
- private Text _resultLabel;
-
- void Start()
- {
- _getButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(5))
- .Subscribe(_ =>
- {
- _manager.NicoliveApiClient.GetScheduledProgramListAsync()
- .Subscribe(result =>
- {
- if (result.Length == 0)
- {
- _resultLabel.text = "現在予定されている番組はありません";
- return;
- }
-
- var builder = new StringBuilder();
- foreach (var schedule in result)
- {
- builder.Append(string.Format("{0}:{1}:{2}\n", schedule.ProgramId, schedule.SocialGroupId, schedule.Status));
- }
-
- _resultLabel.text = builder.ToString();
- }, Debug.LogError);
- });
- }
- }
-}
diff --git a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/SegmentPanel/SegmentPanel.cs b/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/SegmentPanel/SegmentPanel.cs
deleted file mode 100644
index f979ef0..0000000
--- a/Assets/NicoliveClient/Example/Console/Scripts/MainPanel/SegmentPanel/SegmentPanel.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using System;
-using System.Linq;
-using UniRx;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace NicoliveClient.Example
-{
- ///
- /// 番組時間に関係する操作
- ///
- public class SegmentPanel : MonoBehaviour
- {
- [SerializeField] private NicoliveSampleManager _manager;
-
- [SerializeField] private Button _startButton;
- [SerializeField] private Button _endButton;
- [SerializeField] private Button _getExtensionButton;
- [SerializeField] private Button _extendButton;
- [SerializeField] private Text _extendLabel;
-
- void Start()
- {
- _startButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(1))
- .Subscribe(_ =>
- {
- //番組開始
- _manager.NicoliveApiClient
- .StartProgramAsync()
- .Subscribe(__ => { }, Debug.LogError);
- });
-
- _endButton.OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(1))
- .Subscribe(_ =>
- {
- //番組終了
- _manager.NicoliveApiClient
- .EndProgramAsync()
- .Subscribe(__ => { }, Debug.LogError);
- });
-
- _getExtensionButton
- .OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(1))
- .Subscribe(_ =>
- {
- //延長上限取得
- _manager.NicoliveApiClient
- .GetExtensionAsync()
- .Subscribe(extensions =>
- {
- var max = extensions.Max(x => x.Minutes);
- _extendLabel.text = max + "分延長可能";
- }, Debug.LogError);
- });
-
- _extendButton
- .OnClickAsObservable()
- .ThrottleFirst(TimeSpan.FromSeconds(5))
- .Subscribe(_ =>
- {
- //番組延長
- _manager.NicoliveApiClient
- .ExtendProgramAsync(30)
- .Subscribe(__ => { }, Debug.LogError);
- });
- }
- }
-}
diff --git a/Assets/NicoliveClient/Plugins/Client/NicoliveApiClient.cs b/Assets/NicoliveClient/Plugins/Client/NicoliveApiClient.cs
deleted file mode 100644
index 2b63239..0000000
--- a/Assets/NicoliveClient/Plugins/Client/NicoliveApiClient.cs
+++ /dev/null
@@ -1,748 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-using Assets.NicoliveClient.Plugins.Utilities;
-using UniRx;
-using UnityEngine;
-using UnityEngine.Networking;
-
-namespace NicoliveClient
-{
- public class NicoliveApiClient
- {
- private NiconicoUser _niconicoUser;
-
- ///
- /// 現在の操作対象となっている番組ID
- ///
- public string NicoliveProgramId { get; private set; }
-
- ///
- /// pgから始まる方の番組ID
- ///
- private string _pgProgramId;
-
- private string _userAgent = "UnityNicoliveClient";
-
- #region Setup
-
- ///
- /// NicoliveApiClientを初期化する
- ///
- /// ユーザ情報
- public NicoliveApiClient(NiconicoUser niconicoUser)
- {
- _niconicoUser = niconicoUser;
- }
-
- ///
- /// NicoliveApiClientを初期化する
- ///
- /// ユーザ情報
- /// 操作対象の番組ID(lv)
- public NicoliveApiClient(NiconicoUser niconicoUser, string nicoliveProgramId)
- {
- _niconicoUser = niconicoUser;
- NicoliveProgramId = nicoliveProgramId;
- }
-
- ///
- /// 操作対象とする番組IDを設定する
- ///
- public void SetNicoliveProgramId(string id)
- {
- if (NicoliveProgramId != id) _pgProgramId = null;
- NicoliveProgramId = id;
- }
-
- ///
- /// UserAgentを設定する
- ///
- public void SetCustomUserAgent(string userAgent)
- {
- _userAgent = userAgent;
- }
-
- #endregion
-
-
- #region 放送中番組取得
-
- ///
- /// 現在放送中の番組IDを取得する
- ///
- [Obsolete("放送中のコミュニティ番組IDを取得する場合はGetCurrentCommunityProgramIdAsync()を利用して下さい")]
- public IObservable GetCurrentNicoliveProgramIdAsync()
- {
- return GetCurrentCommunityProgramIdAsync();
- }
-
- ///
- /// 現在放送中(テスト中含む)のコミュニティ番組の番組IDを取得する。
- /// 更新頻度が遅めのAPIなので、数分待たないと最新情報が取得できない場合がある。
- /// チャンネル番組の放送中IDを取得する場合はGetScheduledProgramListAsync()を使うこと。
- ///
- public IObservable GetCurrentCommunityProgramIdAsync()
- {
- return Observable.FromCoroutine(GetScheduledProgramListCoroutine)
- .Select(schedules =>
- {
- foreach (var schedule in schedules)
- {
- if (
- schedule.SocialGroupType == SocialGroupType.Community &&
- (schedule.Status == ProgramStatus.Test || schedule.Status == ProgramStatus.OnAir))
- {
- return schedule.ProgramId;
- }
- }
-
- throw new NicoliveApiClientException("現在放送中の番組はありません");
- }).Kick();
- }
-
- #endregion
-
- #region 放送予定番組一覧取得
-
- ///
- /// 放送予定、現在放送中の番組一覧を取得する
- /// (更新頻度が遅めのAPIなので、数分待たないと最新値が取得できない場合がある)
- ///
- public IObservable GetScheduledProgramListAsync()
- {
- return Observable.FromCoroutine(GetScheduledProgramListCoroutine).Kick();
- }
-
- private IEnumerator GetScheduledProgramListCoroutine(IObserver observer)
- {
- var url = "https://live2.nicovideo.jp/unama/tool/v1/program_schedules";
-
- using (var www = UnityWebRequest.Get(url))
- {
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var json = www.downloadHandler.text;
-
- var dto = JsonUtility.FromJson>(json);
- var schedules = dto.data.Select(x => x.ToProgramSchedule()).ToArray();
-
- observer.OnNext(schedules);
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- #region 運営コメント
-
- ///
- /// 運営コメントを投稿する
- ///
- /// 本文
- /// 投稿者名(nullで非表示)
- /// 表示色
- /// 永続表示するか
- ///
- public IObservable SendOperatorCommentAsync(string text, string name = "", string color = "white", bool isPermanent = false)
- {
- return Observable.FromCoroutine(o => PutOperatorCommentCoroutine(o, name, text, color, isPermanent)).Kick();
- }
-
- private IEnumerator PutOperatorCommentCoroutine(IObserver observer, string name, string text, string color, bool isPermanent)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/operator_comment", NicoliveProgramId);
-
- var json = JsonUtility.ToJson(new OperatorCommentRequest
- {
- text = text,
- userName = name,
- isPermanent = isPermanent,
- color = color
- });
-
- using (var www = UnityWebRequest.Put(url, Encoding.UTF8.GetBytes(json)))
- {
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- observer.OnNext(Unit.Default);
- observer.OnCompleted();
- }
- }
-
- ///
- /// 運営コメントの表示をやめる
- ///
- public IObservable DeleteOperatorCommentAsync()
- {
- return Observable.FromCoroutine(DeleteOperatorCommentCoroutine).Kick();
- }
-
- private IEnumerator DeleteOperatorCommentCoroutine(IObserver observer)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/operator_comment", NicoliveProgramId);
-
- using (var www = UnityWebRequest.Delete(url))
- {
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- observer.OnNext(Unit.Default);
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- #region 番組開始/終了
-
- ///
- /// 番組を開始する
- ///
- ///
- public IObservable StartProgramAsync()
- {
- return Observable.FromCoroutine(o => SegmentCoroutine(o, "on_air")).Kick();
- }
-
- ///
- /// 番組を終了する
- ///
- ///
- public IObservable EndProgramAsync()
- {
- return Observable.FromCoroutine(o => SegmentCoroutine(o, "end")).Kick();
- }
-
- private IEnumerator SegmentCoroutine(IObserver observer, string state)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/segment", NicoliveProgramId);
-
- var json = "{\"state\":\"" + state + "\"}";
-
-
- using (var www = UnityWebRequest.Put(url, json))
- {
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- observer.OnNext(Unit.Default);
-
-
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- #region 番組延長
-
- ///
- /// 延長手段を取得する
- ///
- ///
- public IObservable GetExtensionAsync()
- {
- return Observable.FromCoroutine(GetExtensionCoroutine).Kick();
- }
-
- private IEnumerator GetExtensionCoroutine(IObserver observer)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/extension", NicoliveProgramId);
-
- using (var www = UnityWebRequest.Get(url))
- {
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var json = www.downloadHandler.text;
- var extensions = JsonUtility.FromJson>(json);
-
- observer.OnNext(extensions.data.methods.Select(x => x.ToExtensionMethods()).ToArray());
- observer.OnCompleted();
- }
- }
-
- ///
- /// 番組延長を行う
- ///
- /// 分数(30分単位)
- ///
- public IObservable ExtendProgramAsync(int minutes)
- {
- return Observable.FromCoroutine(o => ExtendProgramCoroutine(o, minutes)).Kick();
- }
-
- private IEnumerator ExtendProgramCoroutine(IObserver observer, int minutes)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/extension", NicoliveProgramId);
-
- using (var www = UnityWebRequest.Post(url, "POST"))
- {
- var data = Encoding.UTF8.GetBytes("{\"minutes\":" + minutes + "}");
- www.uploadHandler = new UploadHandlerRaw(data);
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var json = www.downloadHandler.text;
- var extendDto = JsonUtility.FromJson>(json);
- observer.OnNext(new ExtendResult(extendDto.data.end_time));
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- #region 番組情報取得
-
- ///
- /// 番組情報を取得する
- ///
- public IObservable GetProgramInfoAsync(string programId)
- {
- return Observable.FromCoroutine(o => GetProgramInfo(o, programId)).Kick();
- }
-
- ///
- /// 番組情報を取得する
- /// SetNicoliveProgramId()で設定された番組IDを対象とする
- ///
- public IObservable GetProgramInfoAsync()
- {
- return Observable.FromCoroutine(o => GetProgramInfo(o, null)).Kick();
- }
-
- private IEnumerator GetProgramInfo(IObserver observer, string programId)
- {
- var lv = string.IsNullOrEmpty(programId) ? NicoliveProgramId : programId;
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/programinfo", lv);
-
- using (var www = UnityWebRequest.Get(url))
- {
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var json = www.downloadHandler.text;
- try
- {
- var dto = JsonUtility.FromJson>(json);
- var programInfo = dto.data.ToProgramInfo();
-
- observer.OnNext(programInfo);
- observer.OnCompleted();
- }
- catch
- {
- observer.OnError(new Exception("番組情報が取得できませんでした"));
- }
- }
- }
-
- #endregion
-
- #region 番組統計情報取得
-
- ///
- /// 番組統計情報を取得する
- ///
- public IObservable GetProgramStatisticsAsync()
- {
- return Observable.FromCoroutine(GetProgramStatistics).Kick();
- }
-
- private IEnumerator GetProgramStatistics(IObserver observer)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/statistics", NicoliveProgramId);
-
- using (var www = UnityWebRequest.Get(url))
- {
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var json = www.downloadHandler.text;
-
- var dto = JsonUtility.FromJson>(json);
- var statistics = dto.data.ToStatisticsResult();
-
- observer.OnNext(statistics);
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- #region アンケート
-
- ///
- /// アンケートを開始する
- ///
- /// アンケートタイトル
- /// 設問
- ///
- public IObservable StartEnqueteAsync(string title, IEnumerable questions)
- {
- var enqueteObservable = Observable.FromCoroutine(o => StartEnqueteCoroutine(o, title, questions));
-
- if (string.IsNullOrEmpty(_pgProgramId))
- {
- return GetPgProgramIdAsync()
- .Do(pg => _pgProgramId = pg) //pgがない場合は取得する
- .SelectMany(_ => enqueteObservable).Kick();
- }
-
- return enqueteObservable.Kick();
- }
-
- private IEnumerator StartEnqueteCoroutine(IObserver observer, string title, IEnumerable questions)
- {
- var url = string.Format("https://live2.nicovideo.jp/unama/api/v1/programs/{0}/enquete", _pgProgramId);
-
- var items = questions as string[] ?? questions.ToArray();
-
- if (items.Length < 2)
- {
- observer.OnError(new NicoliveApiClientException("アンケートの実行には回答が2つ以上必要です"));
- yield break;
- }
-
- var json = JsonUtility.ToJson(new EnqueteRequest
- {
- programId = _pgProgramId,
- question = title,
- items = items
- });
-
- using (var www = UnityWebRequest.Post(url, "POST"))
- {
- var data = Encoding.UTF8.GetBytes(json);
- www.uploadHandler = new UploadHandlerRaw(data);
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- observer.OnNext(Unit.Default);
- observer.OnCompleted();
- }
- }
-
-
- ///
- /// アンケートの結果を表示する
- ///
- ///
- public IObservable ShowResultEnqueteAsync()
- {
- var enqueteObservable = Observable.FromCoroutine(ShowResultEnqueteCoroutine);
-
- if (string.IsNullOrEmpty(_pgProgramId))
- {
- return GetPgProgramIdAsync()
- .Do(pg => _pgProgramId = pg) //pgがない場合は取得する
- .SelectMany(_ => enqueteObservable).Kick();
- }
-
- return enqueteObservable.Kick();
- }
-
- private IEnumerator ShowResultEnqueteCoroutine(IObserver observer)
- {
- var url = string.Format("https://live2.nicovideo.jp/unama/api/v1/programs/{0}/enquete/show_result", _pgProgramId);
-
- var json = "{ \"programId\":" + _pgProgramId + " }";
-
- using (var www = UnityWebRequest.Post(url, "POST"))
- {
- var data = Encoding.UTF8.GetBytes(json);
- www.uploadHandler = new UploadHandlerRaw(data);
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var result = www.downloadHandler.text;
- var dto = JsonUtility.FromJson>(result);
-
- observer.OnNext(dto.data.ToEnqueteResult());
- observer.OnCompleted();
- }
- }
-
-
- ///
- /// アンケートの結果を表示する
- ///
- ///
- public IObservable FinishEnqueteAsync()
- {
- var enqueteObservable = Observable.FromCoroutine(FinishEnqueteCoroutine);
-
- if (string.IsNullOrEmpty(_pgProgramId))
- {
- return GetPgProgramIdAsync()
- .Do(pg => _pgProgramId = pg) //pgがない場合は取得する
- .SelectMany(_ => enqueteObservable).Kick();
- }
-
- return enqueteObservable.Kick();
- }
-
- private IEnumerator FinishEnqueteCoroutine(IObserver observer)
- {
- var url = string.Format("https://live2.nicovideo.jp/unama/api/v1/programs/{0}/enquete/end", _pgProgramId);
-
- var json = "{ \"programId\":" + _pgProgramId + " }";
-
- using (var www = UnityWebRequest.Post(url, "POST"))
- {
- var data = Encoding.UTF8.GetBytes(json);
- www.uploadHandler = new UploadHandlerRaw(data);
- www.SetRequestHeader("Content-type", "application/json");
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- observer.OnNext(Unit.Default);
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- #region pg取得
-
- ///
- /// pgから始まる方の番組IDを取得する
- ///
- public IObservable GetPgProgramIdAsync()
- {
- return Observable.FromCoroutine(GetPgProgramIdCoroutine).Kick();
- }
-
- private IEnumerator GetPgProgramIdCoroutine(IObserver observer)
- {
- var url = string.Format("https://live2.nicovideo.jp/watch/{0}/player", NicoliveProgramId);
-
- using (var www = UnityWebRequest.Get(url))
- {
- www.SetRequestHeader("Cookie", "user_session=" + _niconicoUser.UserSession);
- www.SetRequestHeader("User-Agent", _userAgent);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicoliveApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- var json = www.downloadHandler.text;
- var programId = Regex.Match(json, "programId\":\"(.*?)\"").Groups[1].Value;
- observer.OnNext(programId);
- observer.OnCompleted();
- }
- }
-
- #endregion
-
- }
-
-
- public class NicoliveApiClientException : Exception
- {
- public NicoliveApiClientException(string message) : base(message)
- {
- }
- }
-}
diff --git a/Assets/NicoliveClient/Plugins/Client/NiconicoUserClient.cs b/Assets/NicoliveClient/Plugins/Client/NiconicoUserClient.cs
deleted file mode 100644
index 0592d99..0000000
--- a/Assets/NicoliveClient/Plugins/Client/NiconicoUserClient.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using System;
-using System.Collections;
-using System.Text.RegularExpressions;
-using UniRx;
-using UnityEngine;
-using UnityEngine.Networking;
-
-namespace NicoliveClient
-{
- ///
- /// ニコニコのアカウント系APIを実行してユーザ情報を返すクライアント
- ///
- public static class NiconicoUserClient
- {
- ///
- /// ニコニコにログインする
- ///
- /// メールアドレス
- /// パスワード
- /// 成功時:NiconicoUser,失敗時:NiconicoLoginException
- public static IObservable LoginAsync(string mail, string password)
- {
- return Observable.FromCoroutine(o => LoginCoroutine(o, mail, password));
- }
-
- private static IEnumerator LoginCoroutine(IObserver observer, string mail, string password)
- {
- var url = "https://account.nicovideo.jp/api/v1/login";
-
- var userSessionRegex = new Regex(@"user_session=user_session_(\w+);");
-
- var form = new WWWForm();
- form.AddField("mail", mail);
- form.AddField("password", password);
-
- using (var www = UnityWebRequest.Post(url, form))
- {
- www.redirectLimit = 0;
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
- var cookie = www.GetResponseHeader("Set-Cookie");
- var match = userSessionRegex.Match(cookie);
-
- if (match.Success)
- {
- var userSession = "user_session_" + match.Groups[1];
- var userId = match.Groups[1].ToString().Split('_')[0];
- observer.OnNext(new NiconicoUser(userId, userSession));
- observer.OnCompleted();
- }
- else
- {
- observer.OnError(new NiconicoLoginException("ログインに失敗しました"));
- }
- }
- }
- }
-
- public class NiconicoLoginException : Exception
- {
- public NiconicoLoginException(string message) : base(message)
- {
- }
- }
-}
diff --git a/Assets/NicoliveClient/Plugins/Client/NicovideoApiClient.cs b/Assets/NicoliveClient/Plugins/Client/NicovideoApiClient.cs
deleted file mode 100644
index f0e486a..0000000
--- a/Assets/NicoliveClient/Plugins/Client/NicovideoApiClient.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-using System;
-using System.Collections;
-using System.Linq;
-using System.Text.RegularExpressions;
-using System.Xml.Linq;
-using Assets.NicoliveClient.Plugins.Utilities;
-using UniRx;
-using UnityEngine.Networking;
-
-namespace NicoliveClient.Nicovideo
-{
- ///
- /// ニコニコ動画向けAPIClient
- ///
- public static class NicovideoApiClient
- {
- public static IObservable GetNicovideoInfoFromMylist(ulong mylistId)
- {
- return Observable.FromCoroutine(
- observer => GetNicovideoInfoFromMylistCoroutine(observer, mylistId, null)).Kick();
- }
-
- public static IObservable GetNicovideoInfoFromMylist(ulong mylistId, NiconicoUser user)
- {
- return Observable.FromCoroutine(
- observer => GetNicovideoInfoFromMylistCoroutine(observer, mylistId, user.UserSession)).Kick();
- }
-
- private static IEnumerator GetNicovideoInfoFromMylistCoroutine(
- IObserver observer, ulong mylistId, string userSession)
- {
- var url = string.Format("https://www.nicovideo.jp/mylist/{0}?rss=2.0", mylistId);
-
- using (var www = UnityWebRequest.Get(url))
- {
- if (!string.IsNullOrEmpty(userSession)) www.SetRequestHeader("Cookie", "user_session=" + userSession);
-
-#if UNITY_2017_2_OR_NEWER
- yield return www.SendWebRequest();
-#else
- yield return www.Send();
-#endif
-
-#if UNITY_2017_1_OR_NEWER
- if (www.isHttpError || www.isNetworkError)
-#else
- if (www.isError)
-#endif
- {
- observer.OnError(new NicovideoApiClientException(www.downloadHandler.text));
- yield break;
- }
-
- try
- {
- var titleRegex = new Regex(@"マイリスト (\w+)‐ニコニコ動画");
- var uriRegex = new Regex(@"src=""(https?://[\w/:%#\$&\?\(\)~\.=\+\-]+)""");
- var viodeIdRegex = new Regex(@"(sm\d+)");
-
- var xml = www.downloadHandler.text;
-
- // XMLをパースして動画情報を取得
- var xdoc = XDocument.Parse(xml);
- var rss = xdoc.Element("rss");
- var channel = rss.Element("channel");
- var t = channel.Element("title").Value;
- var mylistTitle = titleRegex.Match(t).Groups[1].Value;
-
- var videos = channel.Elements("item").Select(i =>
- {
- try
- {
- var title = i.Element("title").Value;
- var link = i.Element("link").Value;
- var des = i.Element("description").Value;
- var thumbnailUri = uriRegex.Match(des).Groups[1].Value;
- var videoId = viodeIdRegex.Match(link).Groups[1].Value;
- return new VideoInfo(title, videoId, thumbnailUri);
- }
- catch
- {
- return default(VideoInfo);
- }
- }).Where(x => !string.IsNullOrEmpty(x.VideoId)).ToArray();
-
- observer.OnNext(new MylistInfo(mylistTitle, videos));
- observer.OnCompleted();
- }
- catch (Exception ex)
- {
- UnityEngine.Debug.LogError(ex);
- observer.OnError(ex);
- yield break;
- }
- }
- }
- }
-
- public class NicovideoApiClientException : Exception
- {
- public NicovideoApiClientException(string message) : base(message)
- {
- }
- }
-}
\ No newline at end of file
diff --git a/Assets/NicoliveClient/Plugins/NiconicoUser.cs b/Assets/NicoliveClient/Plugins/NiconicoUser.cs
deleted file mode 100644
index ecb96cb..0000000
--- a/Assets/NicoliveClient/Plugins/NiconicoUser.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace NicoliveClient
-{
- public struct NiconicoUser
- {
- ///
- /// ユーザID
- ///
- public string UserId { get; private set; }
-
- ///
- /// ユーザセッション(APIの実行に必要)
- ///
- public string UserSession { get; private set; }
-
- public NiconicoUser(string userId, string userSession) : this()
- {
- UserId = userId;
- UserSession = userSession;
- }
- }
-}
diff --git a/Assets/NicoliveClient/Plugins/version.txt b/Assets/NicoliveClient/Plugins/version.txt
deleted file mode 100644
index b28a5eb..0000000
--- a/Assets/NicoliveClient/Plugins/version.txt
+++ /dev/null
@@ -1 +0,0 @@
-2019.5.30
diff --git a/Assets/Plugins/UniRx/Examples.meta b/Assets/Plugins/UniRx/Examples.meta
deleted file mode 100644
index e2df69d..0000000
--- a/Assets/Plugins/UniRx/Examples.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 26fd45379587f9048aa9a068ffe13c07
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample01_ObservableWWW.cs b/Assets/Plugins/UniRx/Examples/Sample01_ObservableWWW.cs
deleted file mode 100644
index 260ffcb..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample01_ObservableWWW.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-#if !(UNITY_METRO || UNITY_WP8)
-
-#if UNITY_2018_3_OR_NEWER
-#pragma warning disable CS0618
-#endif
-
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- // sample script, attach your object.
- public class Sample01_ObservableWWW : MonoBehaviour
- {
- void Start()
- {
- // Basic: Download from google.
- {
- ObservableWWW.Get("http://google.co.jp/")
- .Subscribe(
- x => Debug.Log(x.Substring(0, 100)), // onSuccess
- ex => Debug.LogException(ex)); // onError
- }
-
- // Linear Pattern with LINQ Query Expressions
- // download after google, start bing download
- {
- var query = from google in ObservableWWW.Get("http://google.com/")
- from bing in ObservableWWW.Get("http://bing.com/")
- select new { google, bing };
-
- var cancel = query.Subscribe(x => Debug.Log(x.google.Substring(0, 100) + ":" + x.bing.Substring(0, 100)));
-
- // Call Dispose is cancel downloading.
- cancel.Dispose();
- }
-
- // Observable.WhenAll is for parallel asynchronous operation
- // (It's like Observable.Zip but specialized for single async operations like Task.WhenAll of .NET 4)
- {
- var parallel = Observable.WhenAll(
- ObservableWWW.Get("http://google.com/"),
- ObservableWWW.Get("http://bing.com/"),
- ObservableWWW.Get("http://unity3d.com/"));
-
- parallel.Subscribe(xs =>
- {
- Debug.Log(xs[0].Substring(0, 100)); // google
- Debug.Log(xs[1].Substring(0, 100)); // bing
- Debug.Log(xs[2].Substring(0, 100)); // unity
- });
- }
-
- // with Progress
- {
- // notifier for progress
- var progressNotifier = new ScheduledNotifier();
- progressNotifier.Subscribe(x => Debug.Log(x)); // write www.progress
-
- // pass notifier to WWW.Get/Post
- ObservableWWW.Get("http://google.com/", progress: progressNotifier).Subscribe();
- }
-
- // with Error
- {
- // If WWW has .error, ObservableWWW throws WWWErrorException to onError pipeline.
- // WWWErrorException has RawErrorMessage, HasResponse, StatusCode, ResponseHeaders
- ObservableWWW.Get("http://www.google.com/404")
- .CatchIgnore((WWWErrorException ex) =>
- {
- Debug.Log(ex.RawErrorMessage);
- if (ex.HasResponse)
- {
- Debug.Log(ex.StatusCode);
- }
- foreach (var item in ex.ResponseHeaders)
- {
- Debug.Log(item.Key + ":" + item.Value);
- }
- })
- .Subscribe();
- }
- }
- }
-}
-
-#endif
-
-#if UNITY_2018_3_OR_NEWER
-#pragma warning restore CS0618
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample01_ObservableWWW.cs.meta b/Assets/Plugins/UniRx/Examples/Sample01_ObservableWWW.cs.meta
deleted file mode 100644
index 83dc6c0..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample01_ObservableWWW.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: bf3770fc51ac89f45987dbde37ae81bd
-timeCreated: 1455373901
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample02_ObservableTriggers.cs b/Assets/Plugins/UniRx/Examples/Sample02_ObservableTriggers.cs
deleted file mode 100644
index 5103033..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample02_ObservableTriggers.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using UnityEngine;
-using UniRx.Triggers; // Triggers Namepsace
-using System;
-
-namespace UniRx.Examples
-{
- public class Sample02_ObservableTriggers : MonoBehaviour
- {
- void Start()
- {
- // Get the plain object
- var cube = GameObject.CreatePrimitive(PrimitiveType.Cube);
-
- // Add ObservableXxxTrigger for handle MonoBehaviour's event as Observable
- cube.AddComponent()
- .UpdateAsObservable()
- .SampleFrame(30)
- .Subscribe(x => Debug.Log("cube"), () => Debug.Log("destroy"));
-
- // destroy after 3 second:)
- GameObject.Destroy(cube, 3f);
- }
- }
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample02_ObservableTriggers.cs.meta b/Assets/Plugins/UniRx/Examples/Sample02_ObservableTriggers.cs.meta
deleted file mode 100644
index 447b527..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample02_ObservableTriggers.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: cb5e978d683e94f4d9c2c81be80f93a7
-timeCreated: 1455373901
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample03_GameObjectAsObservable.cs b/Assets/Plugins/UniRx/Examples/Sample03_GameObjectAsObservable.cs
deleted file mode 100644
index 49821b4..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample03_GameObjectAsObservable.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-#if !(UNITY_IPHONE || UNITY_ANDROID || UNITY_METRO)
-
-using UnityEngine;
-using UniRx.Triggers; // for enable gameObject.EventAsObservbale()
-
-namespace UniRx.Examples
-{
- public class Sample03_GameObjectAsObservable : MonoBehaviour
- {
- void Start()
- {
- // All events can subscribe by ***AsObservable if enables UniRx.Triggers
- this.OnMouseDownAsObservable()
- .SelectMany(_ => this.gameObject.UpdateAsObservable())
- .TakeUntil(this.gameObject.OnMouseUpAsObservable())
- .Select(_ => Input.mousePosition)
- .RepeatUntilDestroy(this)
- .Subscribe(x => Debug.Log(x), ()=> Debug.Log("!!!" + "complete"));
- }
- }
-}
-
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample03_GameObjectAsObservable.cs.meta b/Assets/Plugins/UniRx/Examples/Sample03_GameObjectAsObservable.cs.meta
deleted file mode 100644
index 0045b88..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample03_GameObjectAsObservable.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 005e349e5ccdd2b47bddc813b81afe40
-timeCreated: 1455373897
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample04_ConvertFromUnityCallback.cs b/Assets/Plugins/UniRx/Examples/Sample04_ConvertFromUnityCallback.cs
deleted file mode 100644
index 07bf04b..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample04_ConvertFromUnityCallback.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample04_ConvertFromUnityCallback : MonoBehaviour
- {
- // This is about log but more reliable log sample => Sample11_Logger
-
- private class LogCallback
- {
- public string Condition;
- public string StackTrace;
- public UnityEngine.LogType LogType;
- }
-
- static class LogHelper
- {
- // If static register callback, use Subject for event branching.
-
-#if (UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7)
- static Subject subject;
-
- public static IObservable LogCallbackAsObservable()
- {
- if (subject == null)
- {
- subject = new Subject();
-
- // Publish to Subject in callback
-
-
- UnityEngine.Application.RegisterLogCallback((condition, stackTrace, type) =>
- {
- subject.OnNext(new LogCallback { Condition = condition, StackTrace = stackTrace, LogType = type });
- });
- }
-
- return subject.AsObservable();
- }
-
-#else
- // If standard evetns, you can use Observable.FromEvent.
-
- public static IObservable LogCallbackAsObservable()
- {
- return Observable.FromEvent(
- h => (condition, stackTrace, type) => h(new LogCallback { Condition = condition, StackTrace = stackTrace, LogType = type }),
- h => Application.logMessageReceived += h, h => Application.logMessageReceived -= h);
- }
-#endif
- }
-
- void Awake()
- {
- // method is separatable and composable
- LogHelper.LogCallbackAsObservable()
- .Where(x => x.LogType == LogType.Warning)
- .Subscribe(x => Debug.Log(x));
-
- LogHelper.LogCallbackAsObservable()
- .Where(x => x.LogType == LogType.Error)
- .Subscribe(x => Debug.Log(x));
- }
- }
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample04_ConvertFromUnityCallback.cs.meta b/Assets/Plugins/UniRx/Examples/Sample04_ConvertFromUnityCallback.cs.meta
deleted file mode 100644
index 902b570..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample04_ConvertFromUnityCallback.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 73e69fd4bbb724045a4e06050fbc5af3
-timeCreated: 1455373899
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample05_ConvertFromCoroutine.cs b/Assets/Plugins/UniRx/Examples/Sample05_ConvertFromCoroutine.cs
deleted file mode 100644
index 726bb91..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample05_ConvertFromCoroutine.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using System.Collections;
-using System.Threading;
-using UnityEngine;
-#if UNITY_2018_3_OR_NEWER
-#pragma warning disable CS0618
-#endif
-
-namespace UniRx.Examples
-{
- public class Sample05_ConvertFromCoroutine
- {
- // public method
- public static IObservable GetWWW(string url)
- {
- // convert coroutine to IObservable
- return Observable.FromCoroutine((observer, cancellationToken) => GetWWWCore(url, observer, cancellationToken));
- }
-
- // IEnumerator with callback
- static IEnumerator GetWWWCore(string url, IObserver observer, CancellationToken cancellationToken)
- {
- var www = new UnityEngine.WWW(url);
- while (!www.isDone && !cancellationToken.IsCancellationRequested)
- {
- yield return null;
- }
-
- if (cancellationToken.IsCancellationRequested) yield break;
-
- if (www.error != null)
- {
- observer.OnError(new Exception(www.error));
- }
- else
- {
- observer.OnNext(www.text);
- observer.OnCompleted();
- }
- }
- }
-}
-#if UNITY_2018_3_OR_NEWER
-#pragma warning restore CS0618
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample05_ConvertFromCoroutine.cs.meta b/Assets/Plugins/UniRx/Examples/Sample05_ConvertFromCoroutine.cs.meta
deleted file mode 100644
index aaec718..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample05_ConvertFromCoroutine.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 41f3df73f7da66b4980f6d9a86927796
-timeCreated: 1455373898
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample06_ConvertToCoroutine.cs b/Assets/Plugins/UniRx/Examples/Sample06_ConvertToCoroutine.cs
deleted file mode 100644
index 30f6b44..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample06_ConvertToCoroutine.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using System;
-using System.Collections;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample06_ConvertToCoroutine : MonoBehaviour
- {
- // convert IObservable to Coroutine
- void Start()
- {
- StartCoroutine(ComplexCoroutineTest());
- }
-
- IEnumerator ComplexCoroutineTest()
- {
- yield return new WaitForSeconds(1);
-
- var v = default(int);
- yield return Observable.Range(1, 10).StartAsCoroutine(x => v = x);
-
- Debug.Log(v); // 10(callback is last value)
- yield return new WaitForSeconds(3);
-
- yield return Observable.Return(100).StartAsCoroutine(x => v = x);
-
- Debug.Log(v); // 100
- }
-
- // Note:ToAwaitableEnumerator/StartAsCoroutine/LazyTask are obsolete way on Unity 5.3
- // You can use ToYieldInstruction.
-
-#if !(UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2)
-#if UNITY_2018_3_OR_NEWER
-#pragma warning disable CS0618
-#endif
-
- IEnumerator TestNewCustomYieldInstruction()
- {
- // wait Rx Observable.
- yield return Observable.Timer(TimeSpan.FromSeconds(1)).ToYieldInstruction();
-
- // you can change the scheduler(this is ignore Time.scale)
- yield return Observable.Timer(TimeSpan.FromSeconds(1), Scheduler.MainThreadIgnoreTimeScale).ToYieldInstruction();
-
- // get return value from ObservableYieldInstruction
- var o = ObservableWWW.Get("http://unity3d.com/").ToYieldInstruction(throwOnError: false);
- yield return o;
-
- if (o.HasError) { Debug.Log(o.Error.ToString()); }
- if (o.HasResult) { Debug.Log(o.Result); }
-
- // other sample(wait until transform.position.y >= 100)
- yield return this.ObserveEveryValueChanged(x => x.transform).FirstOrDefault(x => x.position.y >= 100).ToYieldInstruction();
- }
-#if UNITY_2018_3_OR_NEWER
-#pragma warning restore CS0618
-#endif
-#endif
-
- }
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample06_ConvertToCoroutine.cs.meta b/Assets/Plugins/UniRx/Examples/Sample06_ConvertToCoroutine.cs.meta
deleted file mode 100644
index 06fb827..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample06_ConvertToCoroutine.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 5da8247fbc4a4c84e96a727b44903214
-timeCreated: 1455373899
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample07_OrchestratIEnumerator.cs b/Assets/Plugins/UniRx/Examples/Sample07_OrchestratIEnumerator.cs
deleted file mode 100644
index e7e2c61..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample07_OrchestratIEnumerator.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-#pragma warning disable 0168
-#pragma warning disable 0219
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample07_OrchestratIEnumerator : MonoBehaviour
- {
- // two coroutines
- IEnumerator AsyncA()
- {
- Debug.Log("a start");
- yield return new WaitForSeconds(3);
- Debug.Log("a end");
- }
-
- IEnumerator AsyncB()
- {
- Debug.Log("b start");
- yield return new WaitForEndOfFrame();
- Debug.Log("b end");
- }
-
- void Start()
- {
- // after completed AsyncA, run AsyncB as continuous routine.
- // UniRx expands SelectMany(IEnumerator) as SelectMany(IEnumerator.ToObservable())
- var cancel = Observable.FromCoroutine(AsyncA)
- .SelectMany(AsyncB)
- .Subscribe();
-
- // If you want to stop Coroutine(as cancel), call subscription.Dispose()
- // cancel.Dispose();
- }
- }
-}
-
-#pragma warning restore 0219
-#pragma warning restore 0168
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample07_OrchestratIEnumerator.cs.meta b/Assets/Plugins/UniRx/Examples/Sample07_OrchestratIEnumerator.cs.meta
deleted file mode 100644
index d74d828..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample07_OrchestratIEnumerator.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: d437607dfffa8ff428bda3366354078d
-timeCreated: 1455373901
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample08_DetectDoubleClick.cs b/Assets/Plugins/UniRx/Examples/Sample08_DetectDoubleClick.cs
deleted file mode 100644
index 366d512..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample08_DetectDoubleClick.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample08_DetectDoubleClick : MonoBehaviour
- {
- void Start()
- {
- // Global event handling is very useful.
- // UniRx can handle there events.
- // Observable.EveryUpdate/EveryFixedUpdate/EveryEndOfFrame
- // Observable.EveryApplicationFocus/EveryApplicationPause
- // Observable.OnceApplicationQuit
-
- // This DoubleCLick Sample is from
- // The introduction to Reactive Programming you've been missing
- // https://gist.github.com/staltz/868e7e9bc2a7b8c1f754
-
- var clickStream = Observable.EveryUpdate()
- .Where(_ => Input.GetMouseButtonDown(0));
-
- clickStream.Buffer(clickStream.Throttle(TimeSpan.FromMilliseconds(250)))
- .Where(xs => xs.Count >= 2)
- .Subscribe(xs => Debug.Log("DoubleClick Detected! Count:" + xs.Count));
- }
- }
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample08_DetectDoubleClick.cs.meta b/Assets/Plugins/UniRx/Examples/Sample08_DetectDoubleClick.cs.meta
deleted file mode 100644
index f26ff52..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample08_DetectDoubleClick.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: eb801bbfb1ffcd64389e90c8f2435b79
-timeCreated: 1455373902
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample09_EventHandling.cs b/Assets/Plugins/UniRx/Examples/Sample09_EventHandling.cs
deleted file mode 100644
index 672fd0a..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample09_EventHandling.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-#pragma warning disable 0067
-
-using System;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample09_EventHandling : MonoBehaviour
- {
- public class MyEventArgs : EventArgs
- {
- public int MyProperty { get; set; }
- }
-
- public event EventHandler FooBar;
- public event Action FooFoo;
-
- CompositeDisposable disposables = new CompositeDisposable();
-
- // Subject is Rx's native event expression and recommend way for use Rx as event.
- // Subject.OnNext as fire event,
- // expose IObserver is subscibable for external source, it's no need convert.
- Subject onBarBar = new Subject();
- public IObservable OnBarBar { get { return onBarBar; } }
-
- void Start()
- {
- // convert to IO as (sender, eventArgs)
- Observable.FromEventPattern, MyEventArgs>(
- h => h.Invoke, h => FooBar += h, h => FooBar -= h)
- .Subscribe()
- .AddTo(disposables); // IDisposable can add to collection easily by AddTo
-
- // convert to IO, many situation this is useful than FromEventPattern
- Observable.FromEvent, MyEventArgs>(
- h => (sender, e) => h(e), h => FooBar += h, h => FooBar -= h)
- .Subscribe()
- .AddTo(disposables);
-
- // You can convert Action like event.
- Observable.FromEvent(
- h => FooFoo += h, h => FooFoo -= h)
- .Subscribe()
- .AddTo(disposables);
-
- // AOT Safe EventHandling, use dummy capture, see:https://github.com/neuecc/UniRx/wiki/AOT-Exception-Patterns-and-Hacks
- var capture = 0;
- Observable.FromEventPattern, MyEventArgs>(h =>
- {
- capture.GetHashCode(); // dummy for AOT
- return new EventHandler(h);
- }, h => FooBar += h, h => FooBar -= h)
- .Subscribe()
- .AddTo(disposables);
-
- // Subject as like event.
- OnBarBar.Subscribe().AddTo(disposables);
- onBarBar.OnNext(1); // fire event
- }
-
- void OnDestroy()
- {
- // manage subscription lifecycle
- disposables.Dispose();
- }
- }
-}
-
-#pragma warning restore 0067
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample09_EventHandling.cs.meta b/Assets/Plugins/UniRx/Examples/Sample09_EventHandling.cs.meta
deleted file mode 100644
index a3c44f5..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample09_EventHandling.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 95140e49213aa6f49a470a81873b87c0
-timeCreated: 1455373900
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample10_MainThreadDispatcher.cs b/Assets/Plugins/UniRx/Examples/Sample10_MainThreadDispatcher.cs
deleted file mode 100644
index 9523770..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample10_MainThreadDispatcher.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-using System.Collections;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample10_MainThreadDispatcher
- {
- public void Run()
- {
- // MainThreadDispatcher is heart of Rx and Unity integration
-
- // StartCoroutine can start coroutine besides MonoBehaviour.
- MainThreadDispatcher.StartCoroutine(TestAsync());
-
- // We have two way of run coroutine, FromCoroutine or StartCoroutine.
- // StartCoroutine is Unity primitive way and it's awaitable by yield return.
- // FromCoroutine is Rx, it's composable and cancellable by subscription's IDisposable.
- // FromCoroutine's overload can have return value, see:Sample05_ConvertFromCoroutine
- Observable.FromCoroutine(TestAsync).Subscribe();
-
- // Add Action to MainThreadDispatcher. Action is saved queue, run on next update.
- MainThreadDispatcher.Post(_ => Debug.Log("test"), null);
-
- // Timebased operations is run on MainThread(as default)
- // All timebased operation(Interval, Timer, Delay, Buffer, etc...)is single thread, thread safe!
- Observable.Interval(TimeSpan.FromSeconds(1))
- .Subscribe(x => Debug.Log(x));
-
- // Observable.Start use ThreadPool Scheduler as default.
- // ObserveOnMainThread return to mainthread
- Observable.Start(() => Unit.Default) // asynchronous work
- .ObserveOnMainThread()
- .Subscribe(x => Debug.Log(x));
- }
-
- IEnumerator TestAsync()
- {
- Debug.Log("a");
- yield return new WaitForSeconds(1);
- Debug.Log("b");
- yield return new WaitForSeconds(1);
- Debug.Log("c");
- yield return new WaitForSeconds(1);
- Debug.Log("d");
- }
- }
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample10_MainThreadDispatcher.cs.meta b/Assets/Plugins/UniRx/Examples/Sample10_MainThreadDispatcher.cs.meta
deleted file mode 100644
index ec97b87..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample10_MainThreadDispatcher.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 6a0b959735346af48b772254afc8afdd
-timeCreated: 1455373899
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample11_Logger.cs b/Assets/Plugins/UniRx/Examples/Sample11_Logger.cs
deleted file mode 100644
index 22d263b..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample11_Logger.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System;
-using System.Collections;
-using UniRx.Diagnostics;
-using UnityEngine;
-
-namespace UniRx.Examples
-{
- public class Sample11_Logger
- {
- // UniRx.Diagnostics.Logger
- // logger is threadsafe, define per class with name.
- static readonly UniRx.Diagnostics.Logger logger = new UniRx.Diagnostics.Logger("Sample11");
-
- // call once at applicationinit
- public void ApplicationInitialize()
- {
- // Log as Stream, UniRx.Diagnostics.ObservableLogger.Listener is IObservable
- // You can subscribe and output to any place.
- ObservableLogger.Listener.LogToUnityDebug();
-
- // for example, filter only Exception and upload to web.
- // (make custom sink(IObserver) is better to use)
- ObservableLogger.Listener
- .Where(x => x.LogType == LogType.Exception)
- .Subscribe(x =>
- {
- // ObservableWWW.Post("", null).Subscribe();
- });
- }
-
- public void Run()
- {
- // Debug is write only DebugBuild.
- logger.Debug("Debug Message");
-
- // or other logging methods
- logger.Log("Message");
- logger.Exception(new Exception("test exception"));
- }
- }
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample11_Logger.cs.meta b/Assets/Plugins/UniRx/Examples/Sample11_Logger.cs.meta
deleted file mode 100644
index 22f109c..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample11_Logger.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: f5aa72c61e2548a4bac4d65f93c63bf1
-timeCreated: 1455373902
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample12Scene.unity b/Assets/Plugins/UniRx/Examples/Sample12Scene.unity
deleted file mode 100644
index fc30a40..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample12Scene.unity
+++ /dev/null
@@ -1,1535 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!29 &1
-SceneSettings:
- m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
- m_OcclusionBakeSettings:
- smallestOccluder: 5
- smallestHole: 0.25
- backfaceThreshold: 100
---- !u!104 &2
-RenderSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 6
- m_Fog: 0
- m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- m_FogMode: 3
- m_FogDensity: 0.01
- m_LinearFogStart: 0
- m_LinearFogEnd: 300
- m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
- m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
- m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
- m_AmbientIntensity: 1
- m_AmbientMode: 3
- m_SkyboxMaterial: {fileID: 0}
- m_HaloStrength: 0.5
- m_FlareStrength: 1
- m_FlareFadeSpeed: 3
- m_HaloTexture: {fileID: 0}
- m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
- m_DefaultReflectionMode: 0
- m_DefaultReflectionResolution: 128
- m_ReflectionBounces: 1
- m_ReflectionIntensity: 1
- m_CustomReflection: {fileID: 0}
- m_Sun: {fileID: 0}
---- !u!157 &4
-LightmapSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 6
- m_GIWorkflowMode: 0
- m_LightmapsMode: 1
- m_GISettings:
- serializedVersion: 2
- m_BounceScale: 1
- m_IndirectOutputScale: 1
- m_AlbedoBoost: 1
- m_TemporalCoherenceThreshold: 1
- m_EnvironmentLightingMode: 0
- m_EnableBakedLightmaps: 0
- m_EnableRealtimeLightmaps: 0
- m_LightmapEditorSettings:
- serializedVersion: 3
- m_Resolution: 2
- m_BakeResolution: 40
- m_TextureWidth: 1024
- m_TextureHeight: 1024
- m_AOMaxDistance: 1
- m_Padding: 2
- m_CompAOExponent: 0
- m_LightmapParameters: {fileID: 0}
- m_TextureCompression: 1
- m_FinalGather: 0
- m_FinalGatherRayCount: 1024
- m_ReflectionCompression: 2
- m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
---- !u!196 &5
-NavMeshSettings:
- serializedVersion: 2
- m_ObjectHideFlags: 0
- m_BuildSettings:
- serializedVersion: 2
- agentRadius: 0.5
- agentHeight: 2
- agentSlope: 45
- agentClimb: 0.4
- ledgeDropHeight: 0
- maxJumpAcrossDistance: 0
- accuratePlacement: 0
- minRegionArea: 2
- cellSize: 0.16666667
- manualCellSize: 0
- m_NavMeshData: {fileID: 0}
---- !u!1 &33721919
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 33721920}
- - 223: {fileID: 33721924}
- - 114: {fileID: 33721923}
- - 114: {fileID: 33721922}
- - 114: {fileID: 33721921}
- m_Layer: 5
- m_Name: Canvas
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &33721920
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 33721919}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 0, y: 0, z: 0}
- m_Children:
- - {fileID: 921642174}
- - {fileID: 530746210}
- - {fileID: 46704896}
- - {fileID: 579875960}
- - {fileID: 1891604357}
- m_Father: {fileID: 0}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0, y: 0}
---- !u!114 &33721921
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 33721919}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 18e34490a83a27e44adf93dd4ffd1f22, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- MyButton: {fileID: 921642175}
- MyToggle: {fileID: 530746211}
- MyInput: {fileID: 46704897}
- MyText: {fileID: 579875961}
- MySlider: {fileID: 1891604358}
- IntRxProp:
- value: 0
---- !u!114 &33721922
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 33721919}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_IgnoreReversedGraphics: 1
- m_BlockingObjects: 0
- m_BlockingMask:
- serializedVersion: 2
- m_Bits: 4294967295
---- !u!114 &33721923
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 33721919}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_UiScaleMode: 0
- m_ReferencePixelsPerUnit: 100
- m_ScaleFactor: 1
- m_ReferenceResolution: {x: 800, y: 600}
- m_ScreenMatchMode: 0
- m_MatchWidthOrHeight: 0
- m_PhysicalUnit: 3
- m_FallbackScreenDPI: 96
- m_DefaultSpriteDPI: 96
- m_DynamicPixelsPerUnit: 1
---- !u!223 &33721924
-Canvas:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 33721919}
- m_Enabled: 1
- serializedVersion: 2
- m_RenderMode: 0
- m_Camera: {fileID: 0}
- m_PlaneDistance: 100
- m_PixelPerfect: 0
- m_ReceivesEvents: 1
- m_OverrideSorting: 0
- m_OverridePixelPerfect: 0
- m_SortingLayerID: 0
- m_SortingOrder: 0
- m_TargetDisplay: 0
---- !u!1 &46704895
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 46704896}
- - 222: {fileID: 46704899}
- - 114: {fileID: 46704898}
- - 114: {fileID: 46704897}
- m_Layer: 5
- m_Name: InputField
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &46704896
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 46704895}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 835857415}
- - {fileID: 710358450}
- m_Father: {fileID: 33721920}
- m_RootOrder: 2
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: 0, y: 277}
- m_SizeDelta: {x: 160, y: 30}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &46704897
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 46704895}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 575553740, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 46704898}
- m_TextComponent: {fileID: 710358451}
- m_Placeholder: {fileID: 835857416}
- m_ContentType: 0
- m_InputType: 0
- m_AsteriskChar: 42
- m_KeyboardType: 0
- m_LineType: 0
- m_HideMobileInput: 0
- m_CharacterValidation: 0
- m_CharacterLimit: 0
- m_OnEndEdit:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.InputField+SubmitEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
- m_OnValueChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.InputField+OnChangeEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
- m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_CustomCaretColor: 0
- m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
- m_Text:
- m_CaretBlinkRate: 1.7
- m_CaretWidth: 1
- m_ReadOnly: 0
---- !u!114 &46704898
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 46704895}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &46704899
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 46704895}
---- !u!1 &163238468
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 163238469}
- - 222: {fileID: 163238471}
- - 114: {fileID: 163238470}
- m_Layer: 5
- m_Name: Checkmark
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &163238469
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 163238468}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1018308463}
- m_RootOrder: 0
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 20, y: 20}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &163238470
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 163238468}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 0
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &163238471
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 163238468}
---- !u!1 &530746209
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 530746210}
- - 114: {fileID: 530746211}
- m_Layer: 5
- m_Name: Toggle
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &530746210
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 530746209}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 1018308463}
- - {fileID: 1527674668}
- m_Father: {fileID: 33721920}
- m_RootOrder: 1
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: -160, y: 294}
- m_SizeDelta: {x: 160, y: 20}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &530746211
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 530746209}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 1018308464}
- toggleTransition: 1
- graphic: {fileID: 163238470}
- m_Group: {fileID: 0}
- onValueChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
- m_IsOn: 0
---- !u!1 &579875959
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 579875960}
- - 222: {fileID: 579875962}
- - 114: {fileID: 579875961}
- m_Layer: 5
- m_Name: Text
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &579875960
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 579875959}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 33721920}
- m_RootOrder: 3
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: 0, y: 178}
- m_SizeDelta: {x: 160, y: 30}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &579875961
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 579875959}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: New Text
---- !u!222 &579875962
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 579875959}
---- !u!1 &605953354
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 605953355}
- m_Layer: 5
- m_Name: Handle Slide Area
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &605953355
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 605953354}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 1022847601}
- m_Father: {fileID: 1891604357}
- m_RootOrder: 2
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: -20, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!1 &710358449
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 710358450}
- - 222: {fileID: 710358452}
- - 114: {fileID: 710358451}
- m_Layer: 5
- m_Name: Text
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &710358450
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 710358449}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 46704896}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: -0.5}
- m_SizeDelta: {x: -20, y: -13}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &710358451
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 710358449}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 0
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text:
---- !u!222 &710358452
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 710358449}
---- !u!1 &801653541
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 801653542}
- - 222: {fileID: 801653544}
- - 114: {fileID: 801653543}
- m_Layer: 5
- m_Name: Background
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &801653542
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 801653541}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1891604357}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0.25}
- m_AnchorMax: {x: 1, y: 0.75}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &801653543
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 801653541}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &801653544
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 801653541}
---- !u!1 &835857414
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 835857415}
- - 222: {fileID: 835857417}
- - 114: {fileID: 835857416}
- m_Layer: 5
- m_Name: Placeholder
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &835857415
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 835857414}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 46704896}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: -0.5}
- m_SizeDelta: {x: -20, y: -13}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &835857416
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 835857414}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 2
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: Enter text...
---- !u!222 &835857417
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 835857414}
---- !u!1 &921642173
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 921642174}
- - 222: {fileID: 921642177}
- - 114: {fileID: 921642176}
- - 114: {fileID: 921642175}
- m_Layer: 5
- m_Name: Button
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &921642174
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 921642173}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 1781955689}
- m_Father: {fileID: 33721920}
- m_RootOrder: 0
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: -171, y: 218}
- m_SizeDelta: {x: 160, y: 30}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &921642175
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 921642173}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 921642176}
- m_OnClick:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
---- !u!114 &921642176
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 921642173}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &921642177
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 921642173}
---- !u!1 &930565829
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 930565830}
- - 222: {fileID: 930565832}
- - 114: {fileID: 930565831}
- m_Layer: 5
- m_Name: Fill
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &930565830
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 930565829}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1807094062}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 10, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &930565831
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 930565829}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &930565832
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 930565829}
---- !u!1 &1018308462
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1018308463}
- - 222: {fileID: 1018308465}
- - 114: {fileID: 1018308464}
- m_Layer: 5
- m_Name: Background
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1018308463
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1018308462}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 163238469}
- m_Father: {fileID: 530746210}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 10, y: -10}
- m_SizeDelta: {x: 20, y: 20}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &1018308464
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1018308462}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &1018308465
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1018308462}
---- !u!1 &1022847600
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1022847601}
- - 222: {fileID: 1022847603}
- - 114: {fileID: 1022847602}
- m_Layer: 5
- m_Name: Handle
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1022847601
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1022847600}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 605953355}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 20, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &1022847602
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1022847600}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 0
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &1022847603
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1022847600}
---- !u!1 &1184379970
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 1184379974}
- - 114: {fileID: 1184379973}
- - 114: {fileID: 1184379972}
- - 114: {fileID: 1184379971}
- m_Layer: 0
- m_Name: EventSystem
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!114 &1184379971
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1184379970}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_ForceModuleActive: 0
---- !u!114 &1184379972
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1184379970}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_HorizontalAxis: Horizontal
- m_VerticalAxis: Vertical
- m_SubmitButton: Submit
- m_CancelButton: Cancel
- m_InputActionsPerSecond: 10
- m_RepeatDelay: 0.5
- m_ForceModuleActive: 0
---- !u!114 &1184379973
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1184379970}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_FirstSelected: {fileID: 0}
- m_sendNavigationEvents: 1
- m_DragThreshold: 5
---- !u!4 &1184379974
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1184379970}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 2
---- !u!1 &1527674667
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1527674668}
- - 222: {fileID: 1527674670}
- - 114: {fileID: 1527674669}
- m_Layer: 5
- m_Name: Label
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1527674668
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1527674667}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 530746210}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 9, y: -0.5}
- m_SizeDelta: {x: -28, y: -3}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &1527674669
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1527674667}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: Toggle
---- !u!222 &1527674670
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1527674667}
---- !u!1 &1781955688
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1781955689}
- - 222: {fileID: 1781955691}
- - 114: {fileID: 1781955690}
- m_Layer: 5
- m_Name: Text
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1781955689
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1781955688}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 921642174}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &1781955690
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1781955688}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 4
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: Button
---- !u!222 &1781955691
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1781955688}
---- !u!1 &1807094061
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1807094062}
- m_Layer: 5
- m_Name: Fill Area
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1807094062
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1807094061}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 930565830}
- m_Father: {fileID: 1891604357}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0.25}
- m_AnchorMax: {x: 1, y: 0.75}
- m_AnchoredPosition: {x: -5, y: 0}
- m_SizeDelta: {x: -20, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!1 &1838497716
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 1838497721}
- - 20: {fileID: 1838497720}
- - 92: {fileID: 1838497719}
- - 124: {fileID: 1838497718}
- - 81: {fileID: 1838497717}
- m_Layer: 0
- m_Name: Main Camera
- m_TagString: MainCamera
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!81 &1838497717
-AudioListener:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1838497716}
- m_Enabled: 1
---- !u!124 &1838497718
-Behaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1838497716}
- m_Enabled: 1
---- !u!92 &1838497719
-Behaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1838497716}
- m_Enabled: 1
---- !u!20 &1838497720
-Camera:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1838497716}
- m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 1
- m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
- m_NormalizedViewPortRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1
- height: 1
- near clip plane: 0.3
- far clip plane: 1000
- field of view: 60
- orthographic: 1
- orthographic size: 5
- m_Depth: -1
- m_CullingMask:
- serializedVersion: 2
- m_Bits: 4294967295
- m_RenderingPath: -1
- m_TargetTexture: {fileID: 0}
- m_TargetDisplay: 0
- m_TargetEye: 3
- m_HDR: 0
- m_OcclusionCulling: 1
- m_StereoConvergence: 10
- m_StereoSeparation: 0.022
- m_StereoMirrorMode: 0
---- !u!4 &1838497721
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1838497716}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: -10}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
---- !u!1 &1891604356
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1891604357}
- - 114: {fileID: 1891604358}
- m_Layer: 5
- m_Name: Slider
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1891604357
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1891604356}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 801653542}
- - {fileID: 1807094062}
- - {fileID: 605953355}
- m_Father: {fileID: 33721920}
- m_RootOrder: 4
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: 0, y: 102}
- m_SizeDelta: {x: 160, y: 20}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &1891604358
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1891604356}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -113659843, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 1022847602}
- m_FillRect: {fileID: 930565830}
- m_HandleRect: {fileID: 1022847601}
- m_Direction: 0
- m_MinValue: 0
- m_MaxValue: 1
- m_WholeNumbers: 0
- m_Value: 1
- m_OnValueChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
diff --git a/Assets/Plugins/UniRx/Examples/Sample12Scene.unity.meta b/Assets/Plugins/UniRx/Examples/Sample12Scene.unity.meta
deleted file mode 100644
index 84b882c..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample12Scene.unity.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4a4aea8df1ad11c47a1db84432dd30f8
-timeCreated: 1455373896
-licenseType: Pro
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample12_ReactiveProperty.cs b/Assets/Plugins/UniRx/Examples/Sample12_ReactiveProperty.cs
deleted file mode 100644
index 94e4242..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample12_ReactiveProperty.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-// for uGUI(from 4.6)
-#if !(UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_4 || UNITY_4_5)
-
-using System;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace UniRx.Examples
-{
- public class Sample12_ReactiveProperty : MonoBehaviour
- {
- // Open Sample12Scene. Set from canvas
- public Button MyButton;
- public Toggle MyToggle;
- public InputField MyInput;
- public Text MyText;
- public Slider MySlider;
-
- // You can monitor/modifie in inspector by SpecializedReactiveProperty
- public IntReactiveProperty IntRxProp = new IntReactiveProperty();
-
- Enemy enemy = new Enemy(1000);
-
- void Start()
- {
- // UnityEvent as Observable
- // (shortcut, MyButton.OnClickAsObservable())
- MyButton.onClick.AsObservable().Subscribe(_ => enemy.CurrentHp.Value -= 99);
-
- // Toggle, Input etc as Observable(OnValueChangedAsObservable is helper for provide isOn value on subscribe)
- // SubscribeToInteractable is UniRx.UI Extension Method, same as .interactable = x)
- MyToggle.OnValueChangedAsObservable().SubscribeToInteractable(MyButton);
-
- // input shows delay after 1 second
-#if !(UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2)
- MyInput.OnValueChangedAsObservable()
-#else
- MyInput.OnValueChangeAsObservable()
-#endif
- .Where(x => x != null)
- .Delay(TimeSpan.FromSeconds(1))
- .SubscribeToText(MyText); // SubscribeToText is UniRx.UI Extension Method
-
- // converting for human visibility
- MySlider.OnValueChangedAsObservable()
- .SubscribeToText(MyText, x => Math.Round(x, 2).ToString());
-
- // from RxProp, CurrentHp changing(Button Click) is observable
- enemy.CurrentHp.SubscribeToText(MyText);
- enemy.IsDead.Where(isDead => isDead == true)
- .Subscribe(_ =>
- {
- MyToggle.interactable = MyButton.interactable = false;
- });
-
- // initial text:)
- IntRxProp.SubscribeToText(MyText);
- }
- }
-
- // Reactive Notification Model
- public class Enemy
- {
- public IReactiveProperty CurrentHp { get; private set; }
-
- public IReadOnlyReactiveProperty IsDead { get; private set; }
-
- public Enemy(int initialHp)
- {
- // Declarative Property
- CurrentHp = new ReactiveProperty(initialHp);
- IsDead = CurrentHp.Select(x => x <= 0).ToReactiveProperty();
- }
- }
-}
-
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample12_ReactiveProperty.cs.meta b/Assets/Plugins/UniRx/Examples/Sample12_ReactiveProperty.cs.meta
deleted file mode 100644
index be8afbc..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample12_ReactiveProperty.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 18e34490a83a27e44adf93dd4ffd1f22
-timeCreated: 1455373897
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample13Scene.unity b/Assets/Plugins/UniRx/Examples/Sample13Scene.unity
deleted file mode 100644
index f79a123..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample13Scene.unity
+++ /dev/null
@@ -1,1300 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!29 &1
-SceneSettings:
- m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
- m_OcclusionBakeSettings:
- smallestOccluder: 5
- smallestHole: 0.25
- backfaceThreshold: 100
---- !u!104 &2
-RenderSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 6
- m_Fog: 0
- m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- m_FogMode: 3
- m_FogDensity: 0.01
- m_LinearFogStart: 0
- m_LinearFogEnd: 300
- m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
- m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
- m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
- m_AmbientIntensity: 1
- m_AmbientMode: 3
- m_SkyboxMaterial: {fileID: 0}
- m_HaloStrength: 0.5
- m_FlareStrength: 1
- m_FlareFadeSpeed: 3
- m_HaloTexture: {fileID: 0}
- m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
- m_DefaultReflectionMode: 0
- m_DefaultReflectionResolution: 128
- m_ReflectionBounces: 1
- m_ReflectionIntensity: 1
- m_CustomReflection: {fileID: 0}
- m_Sun: {fileID: 0}
---- !u!157 &4
-LightmapSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 6
- m_GIWorkflowMode: 0
- m_LightmapsMode: 1
- m_GISettings:
- serializedVersion: 2
- m_BounceScale: 1
- m_IndirectOutputScale: 1
- m_AlbedoBoost: 1
- m_TemporalCoherenceThreshold: 1
- m_EnvironmentLightingMode: 0
- m_EnableBakedLightmaps: 0
- m_EnableRealtimeLightmaps: 0
- m_LightmapEditorSettings:
- serializedVersion: 3
- m_Resolution: 2
- m_BakeResolution: 40
- m_TextureWidth: 1024
- m_TextureHeight: 1024
- m_AOMaxDistance: 1
- m_Padding: 2
- m_CompAOExponent: 0
- m_LightmapParameters: {fileID: 0}
- m_TextureCompression: 1
- m_FinalGather: 0
- m_FinalGatherRayCount: 1024
- m_ReflectionCompression: 2
- m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
---- !u!196 &5
-NavMeshSettings:
- serializedVersion: 2
- m_ObjectHideFlags: 0
- m_BuildSettings:
- serializedVersion: 2
- agentRadius: 0.5
- agentHeight: 2
- agentSlope: 45
- agentClimb: 0.4
- ledgeDropHeight: 0
- maxJumpAcrossDistance: 0
- accuratePlacement: 0
- minRegionArea: 2
- cellSize: 0.16666667
- manualCellSize: 0
- m_NavMeshData: {fileID: 0}
---- !u!1 &48390799
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 48390800}
- - 222: {fileID: 48390802}
- - 114: {fileID: 48390801}
- m_Layer: 5
- m_Name: Text
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &48390800
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 48390799}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 2136645852}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &48390801
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 48390799}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 4
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: Clear Checked
---- !u!222 &48390802
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 48390799}
---- !u!1 &80191139
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 80191140}
- - 114: {fileID: 80191141}
- m_Layer: 5
- m_Name: TodoList
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &80191140
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 80191139}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 625561981}
- m_RootOrder: 2
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0.000030517578, y: -864}
- m_SizeDelta: {x: 0, y: 744}
- m_Pivot: {x: 0.5, y: 0}
---- !u!114 &80191141
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 80191139}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1297475563, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Padding:
- m_Left: 0
- m_Right: 0
- m_Top: 0
- m_Bottom: 0
- m_ChildAlignment: 0
- m_Spacing: 0
- m_ChildForceExpandWidth: 1
- m_ChildForceExpandHeight: 1
---- !u!1 &300470760
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 300470761}
- - 114: {fileID: 300470762}
- m_Layer: 0
- m_Name: ToDoScene
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &300470761
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 300470760}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 895588078}
- m_Father: {fileID: 0}
- m_RootOrder: 1
---- !u!114 &300470762
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 300470760}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 022ecfa555367154c8cf87d61465f7e2, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- Title: {fileID: 852345258}
- ToDoInput: {fileID: 566049662}
- AddButton: {fileID: 611575448}
- ClearButton: {fileID: 2136645853}
- TodoList: {fileID: 80191139}
- SampleItemPrefab: {fileID: 182208, guid: 173222196f3e1f0448b383f260df7d44, type: 2}
---- !u!1 &448872075
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 448872079}
- - 114: {fileID: 448872078}
- - 114: {fileID: 448872077}
- - 114: {fileID: 448872076}
- - 114: {fileID: 448872080}
- m_Layer: 0
- m_Name: EventSystem
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!114 &448872076
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 448872075}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_ForceModuleActive: 0
---- !u!114 &448872077
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 448872075}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_HorizontalAxis: Horizontal
- m_VerticalAxis: Vertical
- m_SubmitButton: Submit
- m_CancelButton: Cancel
- m_InputActionsPerSecond: 10
- m_RepeatDelay: 0.5
- m_ForceModuleActive: 0
---- !u!114 &448872078
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 448872075}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_FirstSelected: {fileID: 0}
- m_sendNavigationEvents: 1
- m_DragThreshold: 5
---- !u!4 &448872079
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 448872075}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 2
---- !u!114 &448872080
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 448872075}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_HorizontalAxis: Horizontal
- m_VerticalAxis: Vertical
- m_SubmitButton: Submit
- m_CancelButton: Cancel
- m_InputActionsPerSecond: 10
- m_RepeatDelay: 0.5
- m_ForceModuleActive: 0
---- !u!1 &566049660
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 566049661}
- - 222: {fileID: 566049664}
- - 114: {fileID: 566049663}
- - 114: {fileID: 566049662}
- m_Layer: 5
- m_Name: ToDoInput
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &566049661
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 566049660}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 2102338788}
- - {fileID: 1368145207}
- m_Father: {fileID: 650625965}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &566049662
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 566049660}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 575553740, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 566049663}
- m_TextComponent: {fileID: 1368145205}
- m_Placeholder: {fileID: 2102338789}
- m_ContentType: 0
- m_InputType: 0
- m_AsteriskChar: 42
- m_KeyboardType: 0
- m_LineType: 0
- m_HideMobileInput: 0
- m_CharacterValidation: 0
- m_CharacterLimit: 0
- m_OnEndEdit:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.InputField+SubmitEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
- m_OnValueChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.InputField+OnChangeEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
- m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_CustomCaretColor: 0
- m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
- m_Text:
- m_CaretBlinkRate: 1.7
- m_CaretWidth: 1
- m_ReadOnly: 0
---- !u!114 &566049663
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 566049660}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &566049664
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 566049660}
---- !u!1 &611575446
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 611575447}
- - 222: {fileID: 611575450}
- - 114: {fileID: 611575449}
- - 114: {fileID: 611575448}
- m_Layer: 5
- m_Name: AddButton
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &611575447
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 611575446}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 721405894}
- m_Father: {fileID: 650625965}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &611575448
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 611575446}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 611575449}
- m_OnClick:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
---- !u!114 &611575449
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 611575446}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &611575450
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 611575446}
---- !u!1 &625561980
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 625561981}
- - 222: {fileID: 625561983}
- - 114: {fileID: 625561982}
- m_Layer: 5
- m_Name: Panel
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &625561981
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 625561980}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 852345257}
- - {fileID: 650625965}
- - {fileID: 80191140}
- m_Father: {fileID: 895588078}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &625561982
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 625561980}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 0.392}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &625561983
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 625561980}
---- !u!1 &650625964
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 650625965}
- - 114: {fileID: 650625966}
- m_Layer: 5
- m_Name: InputArea
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &650625965
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 650625964}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 566049661}
- - {fileID: 611575447}
- - {fileID: 2136645852}
- m_Father: {fileID: 625561981}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 50}
- m_Pivot: {x: 0.5, y: 0}
---- !u!114 &650625966
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 650625964}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -405508275, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Padding:
- m_Left: 0
- m_Right: 0
- m_Top: 0
- m_Bottom: 0
- m_ChildAlignment: 0
- m_Spacing: 0
- m_ChildForceExpandWidth: 1
- m_ChildForceExpandHeight: 1
---- !u!1 &721405893
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 721405894}
- - 222: {fileID: 721405896}
- - 114: {fileID: 721405895}
- m_Layer: 5
- m_Name: Text
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &721405894
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 721405893}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 611575447}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &721405895
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 721405893}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 4
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: Add
---- !u!222 &721405896
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 721405893}
---- !u!1 &852345256
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 852345257}
- - 222: {fileID: 852345259}
- - 114: {fileID: 852345258}
- m_Layer: 5
- m_Name: Title
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &852345257
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 852345256}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 625561981}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 120}
- m_Pivot: {x: 0, y: 1}
---- !u!114 &852345258
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 852345256}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 30
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 0
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: TODO App:)
---- !u!222 &852345259
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 852345256}
---- !u!1 &895588077
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 895588078}
- - 223: {fileID: 895588081}
- - 114: {fileID: 895588080}
- - 114: {fileID: 895588079}
- m_Layer: 5
- m_Name: Canvas
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &895588078
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 895588077}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 0, y: 0, z: 0}
- m_Children:
- - {fileID: 625561981}
- m_Father: {fileID: 300470761}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0, y: 0}
---- !u!114 &895588079
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 895588077}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_IgnoreReversedGraphics: 1
- m_BlockingObjects: 0
- m_BlockingMask:
- serializedVersion: 2
- m_Bits: 4294967295
---- !u!114 &895588080
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 895588077}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_UiScaleMode: 0
- m_ReferencePixelsPerUnit: 100
- m_ScaleFactor: 1
- m_ReferenceResolution: {x: 800, y: 600}
- m_ScreenMatchMode: 0
- m_MatchWidthOrHeight: 0
- m_PhysicalUnit: 3
- m_FallbackScreenDPI: 96
- m_DefaultSpriteDPI: 96
- m_DynamicPixelsPerUnit: 1
---- !u!223 &895588081
-Canvas:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 895588077}
- m_Enabled: 1
- serializedVersion: 2
- m_RenderMode: 0
- m_Camera: {fileID: 0}
- m_PlaneDistance: 100
- m_PixelPerfect: 0
- m_ReceivesEvents: 1
- m_OverrideSorting: 0
- m_OverridePixelPerfect: 0
- m_SortingLayerID: 0
- m_SortingOrder: 0
- m_TargetDisplay: 0
---- !u!1 &1368145204
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 1368145207}
- - 222: {fileID: 1368145206}
- - 114: {fileID: 1368145205}
- m_Layer: 5
- m_Name: Text
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!114 &1368145205
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1368145204}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 0
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text:
---- !u!222 &1368145206
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1368145204}
---- !u!224 &1368145207
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1368145204}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 566049661}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: -0.5}
- m_SizeDelta: {x: -20, y: -13}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!1 &2074703090
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 2074703095}
- - 20: {fileID: 2074703094}
- - 92: {fileID: 2074703093}
- - 124: {fileID: 2074703092}
- - 81: {fileID: 2074703091}
- m_Layer: 0
- m_Name: Main Camera
- m_TagString: MainCamera
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!81 &2074703091
-AudioListener:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2074703090}
- m_Enabled: 1
---- !u!124 &2074703092
-Behaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2074703090}
- m_Enabled: 1
---- !u!92 &2074703093
-Behaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2074703090}
- m_Enabled: 1
---- !u!20 &2074703094
-Camera:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2074703090}
- m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 1
- m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
- m_NormalizedViewPortRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1
- height: 1
- near clip plane: 0.3
- far clip plane: 1000
- field of view: 60
- orthographic: 1
- orthographic size: 5
- m_Depth: -1
- m_CullingMask:
- serializedVersion: 2
- m_Bits: 4294967295
- m_RenderingPath: -1
- m_TargetTexture: {fileID: 0}
- m_TargetDisplay: 0
- m_TargetEye: 3
- m_HDR: 0
- m_OcclusionCulling: 1
- m_StereoConvergence: 10
- m_StereoSeparation: 0.022
- m_StereoMirrorMode: 0
---- !u!4 &2074703095
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2074703090}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: -10}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
---- !u!1 &2102338787
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 2102338788}
- - 222: {fileID: 2102338790}
- - 114: {fileID: 2102338789}
- m_Layer: 5
- m_Name: Placeholder
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &2102338788
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2102338787}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 566049661}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: -0.5}
- m_SizeDelta: {x: -20, y: -13}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &2102338789
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2102338787}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 14
- m_FontStyle: 2
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_AlignByGeometry: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: What needs to be done?
---- !u!222 &2102338790
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2102338787}
---- !u!1 &2136645851
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 2136645852}
- - 222: {fileID: 2136645855}
- - 114: {fileID: 2136645854}
- - 114: {fileID: 2136645853}
- m_Layer: 5
- m_Name: ClearButton
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &2136645852
-RectTransform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2136645851}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 48390800}
- m_Father: {fileID: 650625965}
- m_RootOrder: 2
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &2136645853
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2136645851}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
- m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
- m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
- m_ColorMultiplier: 1
- m_FadeDuration: 0.1
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 2136645854}
- m_OnClick:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
---- !u!114 &2136645854
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2136645851}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
- m_OnCullStateChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
- Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &2136645855
-CanvasRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 2136645851}
diff --git a/Assets/Plugins/UniRx/Examples/Sample13Scene.unity.meta b/Assets/Plugins/UniRx/Examples/Sample13Scene.unity.meta
deleted file mode 100644
index 705d042..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample13Scene.unity.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b879645f640b02b43a8e78e210c1da1f
-timeCreated: 1455373896
-licenseType: Pro
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample13_ToDoApp.cs b/Assets/Plugins/UniRx/Examples/Sample13_ToDoApp.cs
deleted file mode 100644
index 0ee70b6..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample13_ToDoApp.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-// for uGUI(from 4.6)
-#if !(UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_4 || UNITY_4_5)
-
-using System.Linq;
-using UnityEngine;
-using UnityEngine.UI;
-using System.Collections;
-using UnityEngine.EventSystems;
-
-namespace UniRx.Examples
-{
- public class Sample13_ToDoApp : MonoBehaviour
- {
- // Open Sample13Scene. Set from canvas
- public Text Title;
- public InputField ToDoInput;
- public Button AddButton;
- public Button ClearButton;
- public GameObject TodoList;
-
- // prefab:)
- public GameObject SampleItemPrefab;
-
- ReactiveCollection toDos = new ReactiveCollection();
-
- void Start()
- {
- // merge Button click and push enter key on input field.
- var submit = Observable.Merge(
- AddButton.OnClickAsObservable().Select(_ => ToDoInput.text),
- ToDoInput.OnEndEditAsObservable().Where(_ => Input.GetKeyDown(KeyCode.Return)));
-
- // add to reactive collection
- submit.Where(x => x != "")
- .Subscribe(x =>
- {
- ToDoInput.text = ""; // clear input field
- var item = Instantiate(SampleItemPrefab) as GameObject;
- (item.GetComponentInChildren(typeof(Text)) as Text).text = x;
- toDos.Add(item);
- });
-
- // Collection Change Handling
- toDos.ObserveCountChanged().Subscribe(x => Title.text = "TODO App, ItemCount:" + x);
- toDos.ObserveAdd().Subscribe(x =>
- {
- x.Value.transform.SetParent(TodoList.transform, false);
- });
- toDos.ObserveRemove().Subscribe(x =>
- {
- GameObject.Destroy(x.Value);
- });
-
- // Clear
- ClearButton.OnClickAsObservable()
- .Subscribe(_ =>
- {
- var removeTargets = toDos.Where(x => x.GetComponent().isOn).ToArray();
- foreach (var item in removeTargets)
- {
- toDos.Remove(item);
- }
- });
- }
- }
-}
-
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/Sample13_ToDoApp.cs.meta b/Assets/Plugins/UniRx/Examples/Sample13_ToDoApp.cs.meta
deleted file mode 100644
index c240011..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample13_ToDoApp.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 022ecfa555367154c8cf87d61465f7e2
-timeCreated: 1455373897
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/Sample13_ToDoItem.prefab b/Assets/Plugins/UniRx/Examples/Sample13_ToDoItem.prefab
deleted file mode 100644
index bd545c6..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample13_ToDoItem.prefab
+++ /dev/null
@@ -1,284 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &152834
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 22461494}
- - 222: {fileID: 22298102}
- - 114: {fileID: 11434412}
- m_Layer: 5
- m_Name: Background
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!1 &172388
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 22491898}
- - 222: {fileID: 22251748}
- - 114: {fileID: 11438756}
- m_Layer: 5
- m_Name: Label
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!1 &174974
-GameObject:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 22463654}
- - 222: {fileID: 22278786}
- - 114: {fileID: 11497312}
- m_Layer: 5
- m_Name: Checkmark
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!1 &182208
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- serializedVersion: 4
- m_Component:
- - 224: {fileID: 22478562}
- - 114: {fileID: 11479148}
- m_Layer: 5
- m_Name: Sample13_ToDoItem
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!114 &11434412
-MonoBehaviour:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 152834}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 1
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!114 &11438756
-MonoBehaviour:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 172388}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1}
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 30
- m_FontStyle: 0
- m_BestFit: 0
- m_MinSize: 10
- m_MaxSize: 40
- m_Alignment: 0
- m_RichText: 1
- m_HorizontalOverflow: 0
- m_VerticalOverflow: 0
- m_LineSpacing: 1
- m_Text: 'TODOITEM
-
-'
---- !u!114 &11479148
-MonoBehaviour:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 182208}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Navigation:
- m_Mode: 3
- m_SelectOnUp: {fileID: 0}
- m_SelectOnDown: {fileID: 0}
- m_SelectOnLeft: {fileID: 0}
- m_SelectOnRight: {fileID: 0}
- m_Transition: 1
- m_Colors:
- m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
- m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
- m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1}
- m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
- m_ColorMultiplier: 1
- m_FadeDuration: .100000001
- m_SpriteState:
- m_HighlightedSprite: {fileID: 0}
- m_PressedSprite: {fileID: 0}
- m_DisabledSprite: {fileID: 0}
- m_AnimationTriggers:
- m_NormalTrigger: Normal
- m_HighlightedTrigger: Highlighted
- m_PressedTrigger: Pressed
- m_DisabledTrigger: Disabled
- m_Interactable: 1
- m_TargetGraphic: {fileID: 11434412}
- toggleTransition: 1
- graphic: {fileID: 11497312}
- m_Group: {fileID: 0}
- onValueChanged:
- m_PersistentCalls:
- m_Calls: []
- m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0,
- Culture=neutral, PublicKeyToken=null
- m_IsOn: 1
---- !u!114 &11497312
-MonoBehaviour:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 174974}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
- m_Type: 0
- m_PreserveAspect: 0
- m_FillCenter: 1
- m_FillMethod: 4
- m_FillAmount: 1
- m_FillClockwise: 1
- m_FillOrigin: 0
---- !u!222 &22251748
-CanvasRenderer:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 172388}
---- !u!222 &22278786
-CanvasRenderer:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 174974}
---- !u!222 &22298102
-CanvasRenderer:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 152834}
---- !u!224 &22461494
-RectTransform:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 152834}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 22463654}
- m_Father: {fileID: 22478562}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 10, y: -10}
- m_SizeDelta: {x: 20, y: 30}
- m_Pivot: {x: .5, y: .5}
---- !u!224 &22463654
-RectTransform:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 174974}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 22461494}
- m_RootOrder: 0
- m_AnchorMin: {x: .5, y: .5}
- m_AnchorMax: {x: .5, y: .5}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 20, y: 30}
- m_Pivot: {x: .5, y: .5}
---- !u!224 &22478562
-RectTransform:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 182208}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 22461494}
- - {fileID: 22491898}
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: .5, y: .5}
---- !u!224 &22491898
-RectTransform:
- m_ObjectHideFlags: 1
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 100100000}
- m_GameObject: {fileID: 172388}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 22478562}
- m_RootOrder: 1
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 9, y: -.5}
- m_SizeDelta: {x: -28, y: -3}
- m_Pivot: {x: .5, y: .5}
---- !u!1001 &100100000
-Prefab:
- m_ObjectHideFlags: 1
- serializedVersion: 2
- m_Modification:
- m_TransformParent: {fileID: 0}
- m_Modifications: []
- m_RemovedComponents: []
- m_ParentPrefab: {fileID: 0}
- m_RootGameObject: {fileID: 182208}
- m_IsPrefabParent: 1
diff --git a/Assets/Plugins/UniRx/Examples/Sample13_ToDoItem.prefab.meta b/Assets/Plugins/UniRx/Examples/Sample13_ToDoItem.prefab.meta
deleted file mode 100644
index bac13bc..0000000
--- a/Assets/Plugins/UniRx/Examples/Sample13_ToDoItem.prefab.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 173222196f3e1f0448b383f260df7d44
-timeCreated: 1455373909
-licenseType: Pro
-NativeFormatImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Examples/UniRx.Examples.asmdef b/Assets/Plugins/UniRx/Examples/UniRx.Examples.asmdef
deleted file mode 100644
index 04d0566..0000000
--- a/Assets/Plugins/UniRx/Examples/UniRx.Examples.asmdef
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "name": "UniRx.Examples",
- "references": [
- "UniRx",
- "UniRx.Async"
- ],
- "optionalUnityReferences": [
- "TestAssemblies"
- ],
- "includePlatforms": [],
- "excludePlatforms": [],
- "allowUnsafeCode": false
-}
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Examples/UniRx.Examples.asmdef.meta b/Assets/Plugins/UniRx/Examples/UniRx.Examples.asmdef.meta
deleted file mode 100644
index 051ec31..0000000
--- a/Assets/Plugins/UniRx/Examples/UniRx.Examples.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 71799519d12379b49b6b53aea974bea5
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/ReadMe.txt b/Assets/Plugins/UniRx/ReadMe.txt
deleted file mode 100644
index f32cbda..0000000
--- a/Assets/Plugins/UniRx/ReadMe.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-UniRx - Reactive Extensions for Unity / Ver 6.2.2
-===
-Created by Yoshifumi Kawai(neuecc)
-
-UniRx (Reactive Extensions for Unity) is a reimplementation of the .NET Reactive Extensions.
-UniRx is Core Library (Port of Rx) + Platform Adaptor (MainThreadScheduler/FromCoroutine/etc) + Framework (ObservableTriggers/ReactiveProeperty/etc) + async/await integration(UniRx.Async)
-
-Please read Official Site's ReadMe(Manual) - https://github.com/neuecc/UniRx/
-
-UniRx is available on the Unity Asset Store (FREE) - http://u3d.as/content/neuecc/uni-rx-reactive-extensions-for-unity/7tT
-Blog for update info - https://medium.com/@neuecc
-
-Support thread on the Unity Forums: Ask me any question - http://forum.unity3d.com/threads/248535-UniRx-Reactive-Extensions-for-Unity
-Release Notes, see [UniRx/releases](https://github.com/neuecc/UniRx/releases)
-
-Author Info
----
-Yoshifumi Kawai(a.k.a. neuecc) is a software developer in Japan.
-He is awarding Microsoft MVP for Visual C# since 2011.
-
-Blog: https://medium.com/@neuecc (English)
-Blog: http://neue.cc/ (Japanese)
-Twitter: https://twitter.com/neuecc (Japanese)
-
-License
----
-This library is under the [MIT License](https://github.com/neuecc/UniRx/blob/master/LICENSE).
-
-Some code is borrowed from [Rx.NET](https://rx.codeplex.com/) and [mono/mcs](https://github.com/mono/mono).
diff --git a/Assets/Plugins/UniRx/ReadMe.txt.meta b/Assets/Plugins/UniRx/ReadMe.txt.meta
deleted file mode 100644
index 13251e7..0000000
--- a/Assets/Plugins/UniRx/ReadMe.txt.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 52d665ea30c2a3a49a6fa4b3b5a0349a
-timeCreated: 1455373909
-licenseType: Pro
-TextScriptImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Scripts.meta b/Assets/Plugins/UniRx/Scripts.meta
deleted file mode 100644
index 3bc2f67..0000000
--- a/Assets/Plugins/UniRx/Scripts.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 37df35081ab01f047a79d21a93dd2b20
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Scripts/Async.meta b/Assets/Plugins/UniRx/Scripts/Async.meta
deleted file mode 100644
index 9d21eee..0000000
--- a/Assets/Plugins/UniRx/Scripts/Async.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: f3b7fbeed6becb444b885432174f59c3
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Scripts/Async/AsyncUnit.cs b/Assets/Plugins/UniRx/Scripts/Async/AsyncUnit.cs
deleted file mode 100644
index 0898771..0000000
--- a/Assets/Plugins/UniRx/Scripts/Async/AsyncUnit.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
-#pragma warning disable CS1591 // Missing XML comment for publicly visible type or
-
-using System;
-
-namespace UniRx.Async
-{
- public struct AsyncUnit : IEquatable
- {
- public static readonly AsyncUnit Default = new AsyncUnit();
-
- public override int GetHashCode()
- {
- return 0;
- }
-
- public bool Equals(AsyncUnit other)
- {
- return true;
- }
-
- public override string ToString()
- {
- return "()";
- }
- }
-}
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Scripts/Async/AsyncUnit.cs.meta b/Assets/Plugins/UniRx/Scripts/Async/AsyncUnit.cs.meta
deleted file mode 100644
index 54de077..0000000
--- a/Assets/Plugins/UniRx/Scripts/Async/AsyncUnit.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4f95ac245430d304bb5128d13b6becc8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenEqualityComparer.cs b/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenEqualityComparer.cs
deleted file mode 100644
index ad17cf5..0000000
--- a/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenEqualityComparer.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
-#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
-
-using System.Collections.Generic;
-using System.Threading;
-
-namespace UniRx.Async
-{
- public class CancellationTokenEqualityComparer : IEqualityComparer
- {
- public static readonly IEqualityComparer Default = new CancellationTokenEqualityComparer();
-
- public bool Equals(CancellationToken x, CancellationToken y)
- {
- return x.Equals(y);
- }
-
- public int GetHashCode(CancellationToken obj)
- {
- return obj.GetHashCode();
- }
- }
-}
-
-#endif
\ No newline at end of file
diff --git a/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenEqualityComparer.cs.meta b/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenEqualityComparer.cs.meta
deleted file mode 100644
index c3ba3e3..0000000
--- a/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenEqualityComparer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7d739f510b125b74fa7290ac4335e46e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenExtensions.cs b/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenExtensions.cs
deleted file mode 100644
index 3b157ac..0000000
--- a/Assets/Plugins/UniRx/Scripts/Async/CancellationTokenExtensions.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
-#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
-
-using System;
-using System.Threading;
-
-namespace UniRx.Async
-{
- public static class CancellationTokenExtensions
- {
- static readonly Action