localizedconditionalevent - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Localization
Inherits from UnityEngine.MonoBehaviour
Emits conditional events based on if the current locale matches the configured one or not.
public class LocalizedConditionalEvent : MonoBehaviour| Name | Description |
|---|---|
| OnLocaleCheckEvent | Event providing a bool representing if the locale matches. |
| OnLocaleCheckNegatedEvent | Event providing a bool representing if the locale DOES NOT match. |
| OnLocaleMatchEvent | Event emitted if the locale matches. |
| OnLocaleMismatchEvent | Event emitted if the locale DOES NOT match. |
| Name | Description |
|---|---|
| InvokeLocalizedEvent() | Checks if the locale matches and triggers the respective events. |
| Name | Description |
|---|---|
| Description | Description for the condition. No further use. |
| Locale | Locale identifier to match against. The identifiers can be found in the localization setting. Usually something like en or en-GB. |