ReferenceObject
Declaration
public class Strawberry.ReferenceObject
Base class of all reference objects. All entities or components are derived from this class. It is used for serialization and deserialization.
Constructors
ReferenceObject
void ReferenceObject()
Properties
UniqueId
The unique id of the object in the game.
ulong UniqueId { get }
Methods
FindObjectById static
Finds an object using its id
ReferenceObject FindObjectById(ulong id)
Parameters:
| Name | Type | Description |
|---|---|---|
id |
System.UInt64 |
Destroy virtual
Removes the object from the object list
void Destroy()