Tanoda
Leap.Unity.LeapProjectCheckAttribute Class Reference

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...

Inheritance diagram for Leap.Unity.LeapProjectCheckAttribute:

Public Member Functions

 LeapProjectCheckAttribute (string header, int order)
 

Public Attributes

string header
 
int order
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ LeapProjectCheckAttribute()

Leap.Unity.LeapProjectCheckAttribute.LeapProjectCheckAttribute ( string  header,
int  order 
)

Definition at line 40 of file LeapProjectChecks.cs.

Member Data Documentation

◆ header

string Leap.Unity.LeapProjectCheckAttribute.header

Definition at line 37 of file LeapProjectChecks.cs.

◆ order

int Leap.Unity.LeapProjectCheckAttribute.order

Definition at line 38 of file LeapProjectChecks.cs.


The documentation for this class was generated from the following file: