Table of Contents

Class UnityExecutableLibrary

Namespace
Ceres.Graph.Flow.Utilities
Assembly
cs.temp.dll.dll

Executable function library for Unity built-in types

public class UnityExecutableLibrary : ExecutableFunctionLibrary
Inheritance
object
UnityExecutableLibrary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

Methods

Flow_ComponentGetComponent(Component, SerializedType<Component>)

public static Component Flow_ComponentGetComponent(Component component, SerializedType<Component> type)

Parameters

component Component
type SerializedType<Component>

Returns

Component

Flow_ComponentGetComponentInChildren(Component, SerializedType<Component>)

public static Component Flow_ComponentGetComponentInChildren(Component component, SerializedType<Component> type)

Parameters

component Component
type SerializedType<Component>

Returns

Component

Flow_Destroy(UObject)

Removes a GameObject, component or asset.

public static void Flow_Destroy(UObject uObject)

Parameters

uObject UObject

Flow_FindGameObject(string)

Finds a GameObject by name and returns it.

public static GameObject Flow_FindGameObject(string name)

Parameters

name string

Returns

GameObject

Flow_FindGameObjectWithTag(string)

Returns one active GameObject tag. Returns null if no GameObject was found.

public static GameObject Flow_FindGameObjectWithTag(string tag)

Parameters

tag string

Returns

GameObject

Flow_FindObjectOfType(SerializedType<UObject>)

Retrieves the first active loaded object of Type type.

public static UObject Flow_FindObjectOfType(SerializedType<UObject> type)

Parameters

type SerializedType<UObject>

Returns

UObject

Flow_GameObjectGetActiveSelf(GameObject)

Get the local active state of this GameObject.

public static bool Flow_GameObjectGetActiveSelf(GameObject gameObject)

Parameters

gameObject GameObject

Returns

bool

Flow_GameObjectGetComponent(GameObject, SerializedType<Component>)

public static Component Flow_GameObjectGetComponent(GameObject gameObject, SerializedType<Component> type)

Parameters

gameObject GameObject
type SerializedType<Component>

Returns

Component

Flow_GameObjectGetComponentInChildren(GameObject, SerializedType<Component>)

public static Component Flow_GameObjectGetComponentInChildren(GameObject gameObject, SerializedType<Component> type)

Parameters

gameObject GameObject
type SerializedType<Component>

Returns

Component

Flow_GameObjectSetActive(GameObject, bool)

ActivatesDeactivates the GameObject, depending on the given true or false value.

public static void Flow_GameObjectSetActive(GameObject gameObject, bool value)

Parameters

gameObject GameObject
value bool

Flow_RandomRange(float, float)

Returns a random float within [minInclusive..maxInclusive] (range is inclusive).

public static float Flow_RandomRange(float minInclusive, float maxInclusive)

Parameters

minInclusive float
maxInclusive float

Returns

float

Flow_RandomRangeInt(int, int)

Return a random int within [minInclusive..maxExclusive).

public static int Flow_RandomRangeInt(int minInclusive, int maxInclusive)

Parameters

minInclusive int
maxInclusive int

Returns

int

Flow_TransformFind(Transform, string)

Finds a child by name n and returns it.

public static Transform Flow_TransformFind(Transform transform, string name)

Parameters

transform Transform
name string

Returns

Transform

Flow_TransformGetChild(Transform, int)

Returns a transform child by index.

public static Transform Flow_TransformGetChild(Transform transform, int index)

Parameters

transform Transform
index int

Returns

Transform

Flow_UObjectIsValid(UObject)

Validate a GameObject, component or asset is alive.

public static bool Flow_UObjectIsValid(UObject uObject)

Parameters

uObject UObject

Returns

bool