File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Assets/KoganeUnityLib/Scripts Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ public void Add( Action<Action> task )
3232 m_list . Add ( task ) ;
3333 }
3434
35+ /// <summary>
36+ /// タスクを追加します
37+ /// </summary>
38+ public void Add ( string text , Action < Action > task )
39+ {
40+ Add ( task ) ;
41+ }
42+
3543 /// <summary>
3644 /// タスクを実行します
3745 /// </summary>
@@ -70,6 +78,14 @@ public void Play( Action onCompleted = null )
7078 }
7179 }
7280
81+ /// <summary>
82+ /// タスクを実行します
83+ /// </summary>
84+ public void Play ( string text , Action onCompleted = null )
85+ {
86+ Play ( onCompleted ) ;
87+ }
88+
7389 /// <summary>
7490 /// この関数によって返されたIEnumeratorのMoveNext()を呼び出すことでカウントが減っていきます
7591 /// 呼び出すたびに指定した回数分まで <c>onUpdated</c> デリゲートを実行します
Original file line number Diff line number Diff line change 1- m_EditorVersion: 2018.3.9f1
1+ m_EditorVersion: 2018.3.11f1
You can’t perform that action at this time.
0 commit comments