Class VRUtilities
Inheritance
System.Object
VRUtilities
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: HurricaneVR.Framework.dll
Syntax
public static class VRUtilities
Methods
|
Improve this Doc
View Source
AddCopyOf<T>(GameObject, T)
Declaration
public static T AddCopyOf<T>(this GameObject go, T toCopy)
where T : Component
Parameters
Type |
Name |
Description |
UnityEngine.GameObject |
go |
|
T |
toCopy |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static Transform FindChildRecursive(this Transform parent, string name)
Parameters
Type |
Name |
Description |
UnityEngine.Transform |
parent |
|
System.String |
name |
|
Returns
Type |
Description |
UnityEngine.Transform |
|
|
Improve this Doc
View Source
GetCopyOf<T>(Component, T)
Declaration
public static T GetCopyOf<T>(this Component newComponent, T toCopy)
where T : Component
Parameters
Type |
Name |
Description |
UnityEngine.Component |
newComponent |
|
T |
toCopy |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetRigidbody(GameObject)
Declaration
public static Rigidbody GetRigidbody(this GameObject b)
Parameters
Type |
Name |
Description |
UnityEngine.GameObject |
b |
|
Returns
Type |
Description |
UnityEngine.Rigidbody |
|
|
Improve this Doc
View Source
GetRigidbody(MonoBehaviour)
Declaration
public static Rigidbody GetRigidbody(this MonoBehaviour b)
Parameters
Type |
Name |
Description |
UnityEngine.MonoBehaviour |
b |
|
Returns
Type |
Description |
UnityEngine.Rigidbody |
|