My Project
unity::api Namespace Reference

Top-level namespace for public functionality of the Unity API. More...

Detailed Description

Top-level namespace for public functionality of the Unity API.

Function Documentation

◆ major_version()

int unity::api::major_version ( )

Returns the major version number of the Unity API library.

The major version number is also available as the macro UNITY_API_VERSION_MAJOR.

◆ micro_version()

int unity::api::micro_version ( )

Returns the micro version number of the Unity API library.

The micro version number is also available as the macro UNITY_API_VERSION_MICRO.

◆ minor_version()

int unity::api::minor_version ( )

Returns the minor version number of the Unity API library.

The minor version number is also available as the macro UNITY_API_VERSION_MINOR.

◆ str()

char const * unity::api::str ( )

Returns the Unity API version as a string in the format <major>.<minor>.<micro>.

The version string is also available as the macro UNITY_API_VERSION_STRING.