Small number of extension methods that make it easier for PUN to work cross-Unity-versions.
More...
|
static ParameterInfo[] | GetCachedParemeters (this MethodInfo mo) |
|
static PhotonView[] | GetPhotonViewsInChildren (this UnityEngine.GameObject go) |
|
static PhotonView | GetPhotonView (this UnityEngine.GameObject go) |
|
static bool | AlmostEquals (this Vector3 target, Vector3 second, float sqrMagnitudePrecision) |
| compares the squared magnitude of target - second to given float value More...
|
|
static bool | AlmostEquals (this Vector2 target, Vector2 second, float sqrMagnitudePrecision) |
| compares the squared magnitude of target - second to given float value More...
|
|
static bool | AlmostEquals (this Quaternion target, Quaternion second, float maxAngle) |
| compares the angle between target and second to given float value More...
|
|
static bool | AlmostEquals (this float target, float second, float floatDiff) |
| compares two floats and returns true of their difference is less than floatDiff More...
|
|
static bool | CheckIsAssignableFrom (this Type to, Type from) |
|
static bool | CheckIsInterface (this Type to) |
|
Small number of extension methods that make it easier for PUN to work cross-Unity-versions.