Show / Hide Table of Contents

Group GameObjectConditions

Contains GameObject-related Pose Mod conditions that work on any application.

Assembly: kg_PoseMod.dll

Commands

Active(GameObject)

Checks if gameObject is active.

Declaration
public bool Active(GameObject gameObject)
Remarks

This is equivalent to {gameObject}.activeSelf, not {gameObject}.activeInHierarchy.

EditObjectNearOtherObject(GameObject, Single)

Checks if the distance between the current edit object and gameObject is distance or less.

Declaration
public bool EditObjectNearOtherObject(GameObject gameObject, float distance)
Remarks

This is equivalent to ObjectNearOtherObject:(#EDIT_OBJECT):{gameObject}:{distance}.

EditObjectNearPoint(Single, Single, Single, Single)

Checks if the distance between the current edit object and Vector3(x, y, z) is distance or less.

Declaration
public bool EditObjectNearPoint(float x, float y, float z, float distance)
Remarks

This is equivalent to EditObjectNearPoint:{x}, {y}, {z}:{distance}.

EditObjectNearPoint(Vector3, Single)

Checks if the distance between the current edit object and location is distance or less.

Declaration
public bool EditObjectNearPoint(Vector3 location, float distance)
Remarks

This is equivalent to ObjectNearPoint:(#EDIT_OBJECT):{location}:{distance}.

Exists(GameObject)

Checks if gameObject exists.

Declaration
public bool Exists(GameObject gameObject)

ObjectNearOtherObject(GameObject, GameObject, Single)

Checks if the distance between gameObject1 and gameObject2 is distance or less.

Declaration
public bool ObjectNearOtherObject(GameObject gameObject1, GameObject gameObject2, float distance)

ObjectNearPoint(GameObject, Vector3, Single)

Checks if the distance between gameObject and location is distance or less.

Declaration
public bool ObjectNearPoint(GameObject gameObject, Vector3 location, float distance)
Back to top Pose Mod © kgftbz, 2016–2021. Documentation © Ramobo, 2021. Documentation generated with DocFx and hosted by GitLab Pages.