Class CustomAttribute
Represents a custom attribute with various data types that can be assigned to GameObjects for export purposes.
Inherited Members
Namespace: TriLibExporter
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class CustomAttribute
Fields
BooleanValue
A boolean value associated with the custom attribute.
Declaration
public bool BooleanValue
Field Value
Type | Description |
---|---|
bool |
EnumValue
An integer representing an enumerated value associated with the custom attribute.
Declaration
public int EnumValue
Field Value
Type | Description |
---|---|
int |
EnumValues
A list of possible values for an enumerated custom attribute.
Declaration
public List<string> EnumValues
Field Value
Type | Description |
---|---|
List<string> |
FloatValue
A floating-point value associated with the custom attribute.
Declaration
public float FloatValue
Field Value
Type | Description |
---|---|
float |
IntegerValue
An integer value associated with the custom attribute.
Declaration
public int IntegerValue
Field Value
Type | Description |
---|---|
int |
Name
The name of the custom attribute.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
StringValue
A string value associated with the custom attribute.
Declaration
public string StringValue
Field Value
Type | Description |
---|---|
string |
Type
The type of the custom attribute, determining which value is applicable.
Declaration
public CustomAttribute.AttributeType Type
Field Value
Type | Description |
---|---|
CustomAttribute.AttributeType |
VectorValue
A vector value associated with the custom attribute.
Declaration
public Vector3 VectorValue
Field Value
Type | Description |
---|---|
Vector3 |
Methods
GetEnumValues(string)
Retrieves a concatenated string of all enumeration values, separated by a specified string.
Declaration
public string GetEnumValues(string separator)
Parameters
Type | Name | Description |
---|---|---|
string | separator | The string used to separate the enumeration values. |
Returns
Type | Description |
---|---|
string | A concatenated string of enumeration values. |