Tanoda
|
This attribute is used to add items to the Leap Motion preferences window. This allows each module to define their own preferences and still have them all show up under the same window.
More...
Public Member Functions | |
LeapPreferences (string header, int order) | |
Public Attributes | |
readonly string | header |
readonly int | order |
This attribute is used to add items to the Leap Motion preferences window. This allows each module to define their own preferences and still have them all show up under the same window.
The usage is very similar to the built-in PreferenceItem attribute. You add the attribute onto a static method that should be run whenever the preference window is visited. This method is a gui method and should use GuiLayout and EditorGuiLayout in order to draw the preferences. You can specify the name of the preferences as well as an order value to specify how the preferences are ordered relative to other preferences.
Definition at line 32 of file LeapPreferences.cs.
Leap.Unity.LeapPreferences.LeapPreferences | ( | string | header, |
int | order | ||
) |
Definition at line 36 of file LeapPreferences.cs.
readonly string Leap.Unity.LeapPreferences.header |
Definition at line 33 of file LeapPreferences.cs.
readonly int Leap.Unity.LeapPreferences.order |
Definition at line 34 of file LeapPreferences.cs.