Skip to content

Commit 0e1b856

Browse files
author
wanderer
committed
更新UniRx、UniTask
1 parent a669c56 commit 0e1b856

File tree

923 files changed

+72174
-7993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

923 files changed

+72174
-7993
lines changed

GameFramework/Runtime/GameFramework.asmdef

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
{
22
"name": "GameFramework",
33
"references": [
4-
"Libraries"
4+
"GUID:87b7f08973070ad4cbd7876379f056f5",
5+
"GUID:560b04d1a97f54a4e82edc0cbbb69285",
6+
"GUID:f51ebe6a0ceec4240a699833d6309b23",
7+
"GUID:593a5b492d29ac6448b1ebf7f035ef33",
8+
"GUID:029c1c1b674aaae47a6841a0b89ad80e",
9+
"GUID:5c01796d064528144a599661eaab93a6",
10+
"GUID:dc47925d1a5fa2946bdd37746b2b5d48"
511
],
612
"includePlatforms": [],
713
"excludePlatforms": [],
814
"allowUnsafeCode": true,
915
"overrideReferences": false,
10-
"precompiledReferences": [],
16+
"precompiledReferences": [
17+
""
18+
],
1119
"autoReferenced": true,
1220
"defineConstraints": [],
1321
"versionDefines": [],

GameFramework/Runtime/Resource/BundleResourceHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
using UnityEngine.Networking;
1717
using UnityEngine.SceneManagement;
1818
using Object = UnityEngine.Object;
19+
using Cysharp.Threading.Tasks;
1920

2021

2122
namespace Wanderer.GameFramework

Libraries/Libraries.asmdef

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"excludePlatforms": [],
66
"allowUnsafeCode": true,
77
"overrideReferences": false,
8-
"precompiledReferences": [],
8+
"precompiledReferences": [
9+
""
10+
],
911
"autoReferenced": true,
1012
"defineConstraints": [],
1113
"versionDefines": [],

Libraries/LitJson/JsonException.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,44 +21,44 @@ public class JsonException :
2121
ApplicationException
2222
#endif
2323
{
24-
public JsonException () : base ()
24+
public JsonException() : base()
2525
{
2626
}
2727

28-
internal JsonException (ParserToken token) :
29-
base (String.Format (
28+
internal JsonException(ParserToken token) :
29+
base(String.Format(
3030
"Invalid token '{0}' in input string", token))
3131
{
3232
}
3333

34-
internal JsonException (ParserToken token,
34+
internal JsonException(ParserToken token,
3535
Exception inner_exception) :
36-
base (String.Format (
36+
base(String.Format(
3737
"Invalid token '{0}' in input string", token),
3838
inner_exception)
3939
{
4040
}
4141

42-
internal JsonException (int c) :
43-
base (String.Format (
44-
"Invalid character '{0}' in input string", (char) c))
42+
internal JsonException(int c) :
43+
base(String.Format(
44+
"Invalid character '{0}' in input string", (char)c))
4545
{
4646
}
4747

48-
internal JsonException (int c, Exception inner_exception) :
49-
base (String.Format (
50-
"Invalid character '{0}' in input string", (char) c),
48+
internal JsonException(int c, Exception inner_exception) :
49+
base(String.Format(
50+
"Invalid character '{0}' in input string", (char)c),
5151
inner_exception)
5252
{
5353
}
5454

5555

56-
public JsonException (string message) : base (message)
56+
public JsonException(string message) : base(message)
5757
{
5858
}
5959

60-
public JsonException (string message, Exception inner_exception) :
61-
base (message, inner_exception)
60+
public JsonException(string message, Exception inner_exception) :
61+
base(message, inner_exception)
6262
{
6363
}
6464
}

Libraries/Unity3dAsyncAwaitUtil.meta renamed to Libraries/UniRx.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples.meta renamed to Libraries/UniRx/Examples.meta

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample01_ObservableWWW.cs renamed to Libraries/UniRx/Examples/Sample01_ObservableWWW.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#if !(UNITY_METRO || UNITY_WP8)
22

3+
#if UNITY_2018_3_OR_NEWER
4+
#pragma warning disable CS0618
5+
#endif
6+
37
using UnityEngine;
48

59
namespace UniRx.Examples
@@ -79,4 +83,8 @@ from bing in ObservableWWW.Get("http://bing.com/")
7983
}
8084
}
8185

86+
#endif
87+
88+
#if UNITY_2018_3_OR_NEWER
89+
#pragma warning restore CS0618
8290
#endif

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample01_ObservableWWW.cs.meta renamed to Libraries/UniRx/Examples/Sample01_ObservableWWW.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
using System.Collections;
33
using System.Threading;
44
using UnityEngine;
5+
#if UNITY_2018_3_OR_NEWER
6+
#pragma warning disable CS0618
7+
#endif
58

69
namespace UniRx.Examples
710
{
@@ -36,4 +39,7 @@ static IEnumerator GetWWWCore(string url, IObserver<string> observer, Cancellati
3639
}
3740
}
3841
}
39-
}
42+
}
43+
#if UNITY_2018_3_OR_NEWER
44+
#pragma warning restore CS0618
45+
#endif
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample06_ConvertToCoroutine.cs renamed to Libraries/UniRx/Examples/Sample06_ConvertToCoroutine.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ IEnumerator ComplexCoroutineTest()
3131
// You can use ToYieldInstruction.
3232

3333
#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)
34+
#if UNITY_2018_3_OR_NEWER
35+
#pragma warning disable CS0618
36+
#endif
3437

3538
IEnumerator TestNewCustomYieldInstruction()
3639
{
@@ -50,7 +53,9 @@ IEnumerator TestNewCustomYieldInstruction()
5053
// other sample(wait until transform.position.y >= 100)
5154
yield return this.ObserveEveryValueChanged(x => x.transform).FirstOrDefault(x => x.position.y >= 100).ToYieldInstruction();
5255
}
53-
56+
#if UNITY_2018_3_OR_NEWER
57+
#pragma warning restore CS0618
58+
#endif
5459
#endif
5560

5661
}
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample09_EventHandling.cs.meta renamed to Libraries/UniRx/Examples/Sample09_EventHandling.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample11_Logger.cs.meta renamed to Libraries/UniRx/Examples/Sample11_Logger.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample12Scene.unity.meta renamed to Libraries/UniRx/Examples/Sample12Scene.unity.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample12_ReactiveProperty.cs renamed to Libraries/UniRx/Examples/Sample12_ReactiveProperty.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class Enemy
6363
{
6464
public IReactiveProperty<long> CurrentHp { get; private set; }
6565

66-
public IReactiveProperty<bool> IsDead { get; private set; }
66+
public IReadOnlyReactiveProperty<bool> IsDead { get; private set; }
6767

6868
public Enemy(int initialHp)
6969
{
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample13Scene.unity.meta renamed to Libraries/UniRx/Examples/Sample13Scene.unity.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Examples/Sample13_ToDoApp.cs.meta renamed to Libraries/UniRx/Examples/Sample13_ToDoApp.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "UniRx.Examples",
3+
"references": [
4+
"UniRx"
5+
],
6+
"optionalUnityReferences": [
7+
"TestAssemblies"
8+
],
9+
"includePlatforms": [],
10+
"excludePlatforms": [],
11+
"allowUnsafeCode": false
12+
}

Libraries/UniRx/Examples/UniRx.Examples.asmdef.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Scripts.meta renamed to Libraries/UniRx/Scripts.meta

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Scripts/Asynchronous.meta renamed to Libraries/UniRx/Scripts/Asynchronous.meta

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Libraries/Unity3dAsyncAwaitUtil/UniRx/Scripts/Disposables.meta renamed to Libraries/UniRx/Scripts/Disposables.meta

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)