Language
Edit

ObjectRole Class

Definition

Role (ex: is a button) for an object that may appear in the scene.

[UnityEngine.CreateAssetMenu(fileName="ObjectRole.asset", menuName="MRTK/Accessibility/Object Role")]
public class ObjectRole : UnityEngine.ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="ObjectRole.asset", menuName="MRTK/Accessibility/Object Role")>]
type ObjectRole = class
    inherit ScriptableObject
Public Class ObjectRole
Inherits ScriptableObject
Inheritance
UnityEngine.ScriptableObject
ObjectRole
Attributes
UnityEngine.CreateAssetMenuAttribute

Constructors

Name Description
ObjectRole()

Properties

Name Description
Description

Description of the role.

FormalName

Formal name of the role.

IsAria

Is this an ARIA role?

ReferenceLink

Optional link to additional information about the role.

Applies to