Skip to main content

Introduction

Provides a JSON compatible reference to a Game Object

Fields#

NameDescription
SourceSource of object information
PathPath to object
Bundle NameBundle name
Asset NameAsset name
ParentParent spawned object to creator
OffsetOffset to apply to spawned object
RotationRotation to apply to object
Game ObjectObject to spawn

Methods#

NameDescription
CloneCreates a clone of this object
DataLoadLoad data from a stream
DataSaveSave data to a stream
DestroySpawnDestroys spawned instance
GetGameObjectGets GameObject from data, loading if needed
LoadGameObjectLoads GameObject from data
MatchesCompare object to another copy
SpawnSpawns the GameObject
SpawnUntrackedSpawns the GameObject