Depiction Engine For Unity 2023.0 (Alpha)
|
Expose a property to the DepictionEngine.JsonInterface and make available to be persisted in a Datasource. More...
Public Member Functions | |
JsonAttribute (bool get=true, string conditionalGetMethod="") | |
Expose a property to the DepictionEngine.JsonInterface and make available to be persisted in a DepictionEngine.Datasource. | |
Expose a property to the DepictionEngine.JsonInterface and make available to be persisted in a Datasource.
DepictionEngine.JsonAttribute.JsonAttribute | ( | bool | get = true , |
string | conditionalGetMethod = "" |
||
) |
Expose a property to the DepictionEngine.JsonInterface and make available to be persisted in a DepictionEngine.Datasource.
get | If true the property will be write only and wont be included when calling DepictionEngine.JsonUtility.GetObjectJson. |
conditionalGetMethod | The name of a method which returns a boolean. If it returns true the property will be included when calling DepictionEngine.JsonUtility.GetObjectJson otherwise it wont. |