Skip to content

Attributes

Eldar Muradov edited this page Feb 15, 2024 · 2 revisions

Usage

Era Engine use attributes, which can also be used by other developers in different scenario to make the codebase more readable, flexible and to reach some extra functionality.

Era Engine attributes

[HideInInspector] is used to mark a property or field that it's better to hide it in the editor inspector.

[UnmanagedCaller] is used to mark a method that it can be called by unmanaged code. Era Engine use it for P/I operations.

[RPC] is used to mark a method as Remote procedure call operation.

Clone this wiki locally