Public Member Functions | |
void | UpdateProperty (string propertyName, bool state) |
void | LoadLevel () |
![]() | |
virtual Rect | GetBounds () |
void | TryFocus () |
void | SetMaterial (string shader, SetupShader setupShader) |
virtual bool | CanDraw () |
virtual void | DrawOn (ref MadList< Vector3 > vertices, ref MadList< Color32 > colors, ref MadList< Vector2 > uv, ref MadList< int > triangles, out Material material) |
void | DrawOnRegular (ref MadList< Vector3 > vertices, ref MadList< Color32 > colors, ref MadList< Vector2 > uv, ref MadList< int > triangles) |
void | DrawOnQuad (ref MadList< Vector3 > vertices, ref MadList< Color32 > colors, ref MadList< Vector2 > uv, ref MadList< int > triangles) |
void | ResizeToTexture () |
void | MinMaxDepthRecursively (out int min, out int max) |
void | RecalculateLiveBounds () |
void | AnimScale (Vector3 from, Vector3 to, float time, iTween.EaseType easing) |
void | AnimScaleTo (Vector3 scale, float time, iTween.EaseType easing) |
void | AnimMove (Vector3 from, Vector3 to, float time, iTween.EaseType easing) |
void | AnimMoveTo (Vector3 target, float time, iTween.EaseType easing) |
void | AnimRotate (Vector3 from, Vector3 to, float time, iTween.EaseType easing) |
void | AnimRotateTo (Vector3 rotation, float time, iTween.EaseType easing) |
void | AnimColor (Color from, Color to, float time, iTween.EaseType easing) |
void | AnimColorTo (Color color, float time, iTween.EaseType easing) |
delegate void | Action (MadSprite sprite) |
delegate void | SetupShader (Material material) |
![]() | |
T | CreateChild< T > (string name) |
T | CreateChild< T > (string name, T template) |
MadNode | CreateChild (string name, GameObject template) |
T | FindParent< T > () |
Public Attributes | |
bool | hasLevelConfiguration |
MadLevelConfiguration | configuration |
int | levelIndex |
string | levelSceneName |
string | levelArguments |
MadText | levelNumber |
MadLevelProperty | completedProperty |
MadLevelProperty | lockedProperty |
List< MadLevelIcon > | unlockOnComplete |
![]() | |
bool | visible = true |
PivotPoint | pivotPoint = PivotPoint.Center |
Color | tint = Color.white |
Texture2D | texture |
Vector2 | textureOffset |
Vector2 | textureRepeat = new Vector2(1, 1) |
int | guiDepth |
EventFlags | eventFlags = EventFlags.All |
float | liveLeft = 0 |
FillType | fillType |
float | fillValue = 1 |
![]() | |
bool | managed |
Protected Member Functions | |
new void | Start () |
![]() | |
void | OnEnable () |
void | Start () |
void | Update () |
Matrix4x4 | PanelToSelfMatrix () |
void | UpdatePivotPoint () |
Vector3 | PivotPointTranslate (Vector3 p, Rect bounds) |
Properties | |
bool | completed [set] |
bool | locked [get, set] |
MadLevelConfiguration.Level | level [get] |
![]() | |
Vector2 | size [get, set] |
Vector2 | scalePixels [set] |
bool | hasFocus [set] |
Action | onMouseEnter [get, set] |
Action | onMouseExit [get, set] |
Action | onMouseDown [get, set] |
Action | onMouseUp [get, set] |
Action | onTap [get, set] |
Action | onFocus [get, set] |
Action | onFocusLost [get, set] |
![]() | |
static bool | Instantiating [get, set] |
Additional Inherited Members | |
![]() | |
enum | PivotPoint { BottomLeft, TopLeft, TopRight, BottomRight, Left, Top, Right, Bottom, Center } |
enum | FillType { None, LeftToRight, RightToLeft, BottomToTop, TopToBottom, ExpandHorizontal, ExpandVertical, RadialCW, RadialCCW } |
enum | EventFlags { EventFlags.MouseHover = 1, EventFlags.MouseClick = 2, EventFlags.FingerTap = 4, EventFlags.Focus = 8, All = 15 } |
![]() | |
float | left |