Mad Level Manager
 All Classes Namespaces Functions Enumerations Enumerator Properties Events
MadLevelManager.MadFreeDraggable Class Reference
Inheritance diagram for MadLevelManager.MadFreeDraggable:
MadLevelManager.MadDraggable MadLevelManager.MadNode

Public Member Functions

void MoveToLocal (Vector2 position)
 
void MoveToLocal (Vector2 position, MadiTween.EaseType easeType, float time)
 
- 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

Rect dragArea = new Rect(-200, -200, 400, 400)
 
Vector2 dragStartPosition = new Vector2(-200, 200)
 
bool scaling = false
 
float scalingMax = 2
 
float scalingMin = 0.25f
 
bool moveEasing = true
 
bool scaleEasing = true
 
MadiTween.EaseType scaleEasingType = MadiTween.EaseType.easeOutQuad
 
float scaleEasingDuration = 0.5f
 
- Public Attributes inherited from MadLevelManager.MadDraggable
MadiTween.EaseType moveEasingType = MadiTween.EaseType.easeOutQuad
 
float moveEasingDuration = 0.5f
 
- Public Attributes inherited from MadLevelManager.MadNode
bool managed
 

Protected Member Functions

override void Start ()
 
override void Update ()
 
- Protected Member Functions inherited from MadLevelManager.MadDraggable
virtual void OnEnable ()
 
virtual void LateUpdate ()
 
bool IsTouchingSingle ()
 
bool IsTouchingJustStarted ()
 
Vector2 TouchPosition ()
 
void RegisterDelta (Vector2 delta)
 
void Clear ()
 
Vector2 Ease (MadiTween.EaseType type, Vector2 start, Vector2 end, float percentage)
 
Vector3 Ease (MadiTween.EaseType type, Vector3 start, Vector3 end, float percentage)
 

Additional Inherited Members

- Protected Attributes inherited from MadLevelManager.MadDraggable
Vector2 lastPosition
 
Vector2 interiaForce = Vector2.zero
 
float dragDistance
 
float deadDistance = 50
 
Vector2 cachedCamPos
 
Vector2 estaminatedPos
 
List< Touch > multiTouches = new List<Touch>()
 
- Properties inherited from MadLevelManager.MadDraggable
float lastTouchTime [get, set]
 
Vector2 lastTouchCameraPos [get, set]
 
bool dragging [get, set]
 
Vector2 cameraPos [get, set]
 
- Properties inherited from MadLevelManager.MadNode
static bool Instantiating [get, set]
 

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