Struct GhostTypeComponent
Component storing the guid of the prefab the ghost was created from. This is used to lookup ghost type in a robust way which works even if two ghosts have the same archetype
Syntax
public struct GhostTypeComponent : IComponentData, IEquatable<GhostTypeComponent>
Fields
guid0
Declaration
Field Value
guid1
Declaration
Field Value
guid2
Declaration
Field Value
guid3
Declaration
Field Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(GhostTypeComponent)
Declaration
public bool Equals(GhostTypeComponent other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
Equality(GhostTypeComponent, GhostTypeComponent)
Declaration
public static bool operator ==(GhostTypeComponent lhs, GhostTypeComponent rhs)
Parameters
Returns
Inequality(GhostTypeComponent, GhostTypeComponent)
Declaration
public static bool operator !=(GhostTypeComponent lhs, GhostTypeComponent rhs)
Parameters
Returns