Class Utils
Assembly: doc.dll
Syntax
public static class Utils : object
Methods
|
Improve this Doc
View Source
GetSpawnedInServerOrClient(UInt32)
Declaration
public static NetworkIdentity GetSpawnedInServerOrClient(uint netId)
Parameters
Type |
Name |
Description |
UInt32 |
netId |
|
Returns
|
Improve this Doc
View Source
GetTrueRandomUInt()
Declaration
public static uint GetTrueRandomUInt()
Returns
|
Improve this Doc
View Source
IsPointInScreen(Vector2)
Declaration
public static bool IsPointInScreen(Vector2 point)
Parameters
Type |
Name |
Description |
Vector2 |
point |
|
Returns
|
Improve this Doc
View Source
IsPrefab(GameObject)
Declaration
public static bool IsPrefab(GameObject obj)
Parameters
Type |
Name |
Description |
GameObject |
obj |
|
Returns
|
Improve this Doc
View Source
IsSceneObjectWithPrefabParent(GameObject, out GameObject)
Declaration
public static bool IsSceneObjectWithPrefabParent(GameObject gameObject, out GameObject prefab)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
GameObject |
prefab |
|
Returns
|
Improve this Doc
View Source
PrettyBytes(Int64)
Declaration
public static string PrettyBytes(long bytes)
Parameters
Type |
Name |
Description |
Int64 |
bytes |
|
Returns