Tanoda
|
Add this attribute to a settings check. This method will be called often while the Leap Motion Unity Window is open, so it should be as light-weight as possible! If you need to do a heavy check that involves scanning the current scene for example, you should gate the check behind a button. More...
Public Member Functions | |
LeapProjectCheckAttribute (string header, int order) | |
Public Attributes | |
string | header |
int | order |
Add this attribute to a settings check. This method will be called often while the Leap Motion Unity Window is open, so it should be as light-weight as possible! If you need to do a heavy check that involves scanning the current scene for example, you should gate the check behind a button.
This project check is called during OnGUI in a Vertical layout context, so you should draw a box containing any messages, buttons, results, warnings, auto-fixes, and ignores suitable for the check.
For "ignore" functionality, use LeapProjectChecks.CheckIgnoreKey(string) and LeapProjectsChecks.SetIgnoreKey(string) so that ignore actions can be remembered and cleared by the project checks GUI.
Definition at line 36 of file LeapProjectChecks.cs.
Leap.Unity.LeapProjectCheckAttribute.LeapProjectCheckAttribute | ( | string | header, |
int | order | ||
) |
Definition at line 40 of file LeapProjectChecks.cs.
string Leap.Unity.LeapProjectCheckAttribute.header |
Definition at line 37 of file LeapProjectChecks.cs.
int Leap.Unity.LeapProjectCheckAttribute.order |
Definition at line 38 of file LeapProjectChecks.cs.