Mad Level Manager
 All Classes Namespaces Functions Enumerations Enumerator Properties
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
MadLevelManager.MadDraggable Class Reference
Inheritance diagram for MadLevelManager.MadDraggable:
MadLevelManager.MadNode

Public Types

enum  DragMode { Free, DragStop }
 

Public Member Functions

int AddDragStop (float x, float y)
 
void MoveTo (int dragStop)
 
void MoveTo (Vector2 position)
 
delegate void DragStopCallback (int index)
 
- Public Member Functions inherited from MadLevelManager.MadNode
CreateChild< T > (string name)
 
CreateChild< T > (string name, T template)
 
MadNode CreateChild (string name, GameObject template)
 
FindParent< T > ()
 

Public Attributes

DragMode dragMode = DragMode.DragStop
 
DragStopCallback dragStopCallback
 
Rect freeDragArea = new Rect(-200, -200, 400, 400)
 
Vector2 freeDragStartPosition = new Vector2(-200, 200)
 
bool allowScaling = false
 
float scaleMax = 2
 
float scaleMin = 0.25f
 
- Public Attributes inherited from MadLevelManager.MadNode
bool managed
 

Properties

bool dragging [get, set]
 
- Properties inherited from MadLevelManager.MadNode
static bool Instantiating [get, set]
 

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