UxrGrabbableObject.Editor_HasGrabPointWithGrabAlignTransform Method (Transform, GameObject)

Checks whether the object has a grab point with the given Transform for alignment registered using the given prefab.

Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool Editor_HasGrabPointWithGrabAlignTransform(
	Transform snapTransform,
	GameObject avatarPrefab
)

Parameters

 

snapTransform
Type: Transform
Transform to check
avatarPrefab
Type: GameObject
Avatar prefab

Return Value

Type: Boolean
Whether the given Transform is present in any of the grab point alignments registered using the given avatar prefab

See Also

Reference

UxrGrabbableObject Class
Editor_HasGrabPointWithGrabAlignTransform Overload
UltimateXR.Manipulation Namespace