Mad Level Manager
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
_NAMESPACE_.MadDraggable Class Reference
Inheritance diagram for _NAMESPACE_.MadDraggable:
_NAMESPACE_.MadNode _NAMESPACE_.MadDragStopDraggable _NAMESPACE_.MadFreeDraggable

Public Attributes

MadiTween.EaseType moveEasingType = MadiTween.EaseType.easeOutQuad
 
float moveEasingDuration = 0.5f
 
- Public Attributes inherited from _NAMESPACE_.MadNode
bool managed
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void Start ()
 
virtual void Update ()
 
virtual void FixedUpdate ()
 
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)
 

Protected Attributes

Vector2 lastPosition
 
Vector2 interiaForce = Vector2.zero
 
float dragDistance
 
float deadDistance = 50
 
Vector2 cachedCamPos
 
Vector2 estaminatedPos
 
List< Touch > multiTouches = new List<Touch>()
 

Properties

float lastTouchTime [get, set]
 
Vector2 lastTouchCameraPos [get, set]
 
bool dragging [get, set]
 
Vector2 cameraPos [get, set]
 
- Properties inherited from _NAMESPACE_.MadNode
static bool Instantiating [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from _NAMESPACE_.MadNode
CreateChild< T > (string name)
 
CreateChild< T > (string name, T template)
 
MadNode CreateChild (string name, GameObject template)
 
FindParent< T > ()
 

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