Class GhostComponentUtilities
Inheritance
GhostComponentUtilities
Syntax
public static class GhostComponentUtilities : object
Methods
GetDebugTypeName(ComponentType)
Declaration
public static string GetDebugTypeName(this ComponentType self)
Parameters
Type |
Name |
Description |
ComponentType |
self |
|
Returns
GetFirstGhostTypeId(NativeArray<GhostComponent>)
Find the first valid ghost type id in an array of ghost components, pre-spawned ghosts have type id -1.
This method returns -1 if no ghost type id is found.
Declaration
public static int GetFirstGhostTypeId(this NativeArray<GhostComponent> self)
Parameters
Returns
GetFirstGhostTypeId(NativeArray<GhostComponent>, out Int32)
Find the first valid ghost type id in an array of ghost components, pre-spawned ghosts have type id -1.
This method returns -1 if no ghost type id is found.
Declaration
public static int GetFirstGhostTypeId(this NativeArray<GhostComponent> self, out int firstGhost)
Parameters
Returns