Class GenericControl
Represents a generic UI control.
Inherited Members
Namespace: UnityEditor .U2D.Path.GUIFramework
Assembly: solution.dll
Syntax
public class GenericControl : Control
Constructors
Name | Description |
---|---|
Generic |
Initializes and returns an instance of GenericControl |
Fields
Name | Description |
---|---|
count | Func for GetCount |
distance | Func for GetDistance |
forward | Func for GetForward |
on |
Func for OnBeginLayout |
on |
Action for OnEndLayout |
on |
Action for OnRepaint |
position | Func for GetPosition |
right | Func for GetRight |
up | Func for GetUp |
user |
Func for GetUserData |
Methods
Name | Description |
---|---|
Get |
Gets the number of sub-controllers. |
Get |
Gets the distance from the Scene view camera to the control. |
Get |
Gets the forward vector of the control. |
Get |
Gets the position of the control. |
Get |
Gets the right vector of the control. |
Get |
Gets the up vector of the control. |
Get |
Override for GetUserData |
On |
Called when the control begins its layout. |
On |
Called when the control ends its layout. |
On |
Called when the control repaints its contents. |