mTaskFlow

Summary

mTaskFlow This class will carry out the tasks in order

Relation

mTask
System.Collections.IEnumerator

Indexer

This[System.Int32] Gets or sets the with the specified key.

Property

savePositionToPlayerPrefs Decide whether to save the progress of the task flow in PlayerPrefs.
isProcessingOnPlayerPrefs Gets a value indicating whether this instance is processing on player prefs.
Count Gets the count.

Method

GetResult( ) Gets the result.
Finalize( ) Finalizes an instance of the class.
Abort(System.String) Terminate task
GetEnumerator( ) Gets the enumerator.
Create(System.Func{mTask,mTask}[]) Create new mTaskFlow object This class will carry out the tasks in order i.e. yield return mTaskFlow.Create( task1, task2, task3 ... );
Create(System.Collections.Generic.List{System.Func{mTask,mTask}}) Create new mTaskFlow object This class will carry out the tasks in order i.e. yield return mTaskFlow.Create( tasks );
CreateEmpty(System.String,System.Boolean,System.Boolean) Create new empty mTaskFlow object This class will carry out the tasks in order
CreateError(System.String) Create new empty mTaskFlow object This class will carry out the tasks in order Create a newly created error task Used on task error
Add(System.Func{mTask,mTask}[]) Add new mTask callbacks
Add(System.Collections.Generic.List{System.Func{mTask,mTask}}) Add new mTask callbacks
Insert(System.Int32,System.Func{mTask,mTask}) Inserts the specified index.
InsertFirst(System.Func{mTask,mTask}) Inserts the first.
Remove(System.Func{mTask,mTask}[]) Remove mTask callbacks
Remove(System.Collections.Generic.List{System.Func{mTask,mTask}}) Remove mTask callbacks
Clear( ) Clear all callbacks
Each(System.Action{System.Func{mTask,mTask}}) Foreach action like LINQ
Select(System.Func{System.Func{mTask,mTask},System.Func{mTask,mTask}}) Manipulate the list in a way like the Select() method of LINQ
Where(System.Func{System.Func{mTask,mTask},System.Boolean}) Filter the list in a way like the Where() method of LINQ
All(System.Func{System.Func{mTask,mTask},System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any(System.Func{System.Func{mTask,mTask},System.Boolean}) Returns true if there is even one that meets the condition like the Any() method of LINQ
CloneEmpty( ) Create empty mTaskFlow Path information and task status are cloned
First(System.Func{System.Func{mTask,mTask},System.Boolean}) Retrieve the first element that meets the condition
Last(System.Func{System.Func{mTask,mTask},System.Boolean}) Retrieve the last element that meets the condition

Reference