Click or drag to resize

ModGameAssetReference Class

A serializable refernce to a shared game asset which can be used in mod scripts to reference specific shared game assets.
Inheritance Hierarchy
SystemObject
  UModModGameAssetReference

Namespace:  UMod
Assembly:  UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class ModGameAssetReference

The ModGameAssetReference type exposes the following members.

Constructors
  NameDescription
Public methodModGameAssetReference
Initializes a new instance of the ModGameAssetReference class
Top
Properties
  NameDescription
Public propertyGameAssetReference
Get the serialized guid reference to the assigned game asset. This reference can be set via the inspector using the game assets selection window.
Public propertyIsReferenceAssigned
Returns a value indicating whether this reference points to a valid game asset. This value will be false when the game asset reference has not been assigned (None). Note that this value will be true for references to game asset that no longer exist (Missing).
Top
Methods
See Also