Method AddCustomProperty
AddCustomProperty(uint, string, string, PropertyType)
Add a custom property to an entity that support custom properties
Declaration
[HandleProcessCorruptedStateExceptions]
public void AddCustomProperty(uint entity, string name, string value = "", PropertyType type = PropertyType.STRING)
Parameters
| Type | Name | Description | 
|---|---|---|
| uint | entity | An entity that support custom properties  | 
    
| string | name | Name of the custom property  | 
    
| string | value | Value of the custom property  | 
    
| PropertyType | type | Type of the custom property  |