Class UnityExecutableLibrary
Executable function library for Unity built-in types
Inheritance
object
UnityExecutableLibrary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: cs.temp.dll.dll
Syntax
public class UnityExecutableLibrary : ExecutableFunctionLibrary
Methods
Flow_ComponentGetComponent(Component, SerializedType<Component>)
Declaration
public static Component Flow_ComponentGetComponent(Component component, SerializedType<Component> type)
Parameters
Type |
Name |
Description |
Component |
component |
|
SerializedType<><Component> |
type |
|
Returns
Type |
Description |
Component |
|
Flow_ComponentGetComponentInChildren(Component, SerializedType<Component>)
Declaration
public static Component Flow_ComponentGetComponentInChildren(Component component, SerializedType<Component> type)
Parameters
Type |
Name |
Description |
Component |
component |
|
SerializedType<><Component> |
type |
|
Returns
Type |
Description |
Component |
|
Flow_Destroy(UObject)
Removes a GameObject, component or asset.
Declaration
public static void Flow_Destroy(UObject uObject)
Parameters
Type |
Name |
Description |
UObject |
uObject |
|
Flow_FindGameObject(string)
Finds a GameObject by name and returns it.
Declaration
public static GameObject Flow_FindGameObject(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Type |
Description |
GameObject |
|
Flow_FindGameObjectWithTag(string)
Returns one active GameObject tag. Returns null if no GameObject was found.
Declaration
public static GameObject Flow_FindGameObjectWithTag(string tag)
Parameters
Type |
Name |
Description |
string |
tag |
|
Returns
Type |
Description |
GameObject |
|
Flow_FindObjectOfType(SerializedType<UObject>)
Returns the first active loaded object of Type type.
Declaration
public static UObject Flow_FindObjectOfType(SerializedType<UObject> type)
Parameters
Type |
Name |
Description |
SerializedType<><UObject> |
type |
|
Returns
Flow_GameObjectGetActiveSelf(GameObject)
Get the local active state of this GameObject.
Declaration
public static bool Flow_GameObjectGetActiveSelf(GameObject gameObject)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
Returns
Flow_GameObjectGetComponent(GameObject, SerializedType<Component>)
Declaration
public static Component Flow_GameObjectGetComponent(GameObject gameObject, SerializedType<Component> type)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
SerializedType<><Component> |
type |
|
Returns
Type |
Description |
Component |
|
Flow_GameObjectGetComponentInChildren(GameObject, SerializedType<Component>)
Declaration
public static Component Flow_GameObjectGetComponentInChildren(GameObject gameObject, SerializedType<Component> type)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
SerializedType<><Component> |
type |
|
Returns
Type |
Description |
Component |
|
Flow_GameObjectSetActive(GameObject, bool)
ActivatesDeactivates the GameObject, depending on the given true or false value.
Declaration
public static void Flow_GameObjectSetActive(GameObject gameObject, bool value)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
bool |
value |
|
Flow_RandomRange(float, float)
Returns a random float within [minInclusive..maxInclusive] (range is inclusive).
Declaration
public static float Flow_RandomRange(float minInclusive, float maxInclusive)
Parameters
Type |
Name |
Description |
float |
minInclusive |
|
float |
maxInclusive |
|
Returns
Flow_RandomRangeInt(int, int)
Return a random int within [minInclusive..maxExclusive).
Declaration
public static int Flow_RandomRangeInt(int minInclusive, int maxInclusive)
Parameters
Type |
Name |
Description |
int |
minInclusive |
|
int |
maxInclusive |
|
Returns
Finds a child by name n and returns it.
Declaration
public static Transform Flow_TransformFind(Transform transform, string name)
Parameters
Type |
Name |
Description |
Transform |
transform |
|
string |
name |
|
Returns
Type |
Description |
Transform |
|
Returns a transform child by index.
Declaration
public static Transform Flow_TransformGetChild(Transform transform, int index)
Parameters
Type |
Name |
Description |
Transform |
transform |
|
int |
index |
|
Returns
Type |
Description |
Transform |
|
Flow_UObjectIsValid(UObject)
Validate a GameObject, component or asset is alive.
Declaration
public static bool Flow_UObjectIsValid(UObject uObject)
Parameters
Type |
Name |
Description |
UObject |
uObject |
|
Returns