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

Public Types

enum  Direction { Horizontal, Vertical }
 

Public Member Functions

void ClearDragStops ()
 
int AddDragStop (float x, float y)
 
void MoveTo (int dragStop, bool now)
 
float GetProgress ()
 
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

DragStopCallback dragStopCallback
 
Direction direction = Direction.Horizontal
 
bool directionInvert = false
 
- 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 Update ()
 
- Protected Member Functions inherited from MadLevelManager.MadDraggable
virtual void OnEnable ()
 
virtual void Start ()
 
virtual void FixedUpdate ()
 
virtual void LateUpdate ()
 
bool IsTouchingSingle ()
 
bool IsTouchingJustStarted ()
 
bool IsTouchingJustEnded ()
 
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)
 

Properties

int dragStopCount [get]
 
int dragStopCurrentIndex [get]
 
override Vector2 progress [get]
 
bool animating [get]
 
- Properties inherited from MadLevelManager.MadDraggable
float lastTouchTime [get, set]
 
Vector2 lastTouchCameraPos [get, set]
 
bool dragging [get, protected set]
 
Vector2 cameraPos [get, set]
 
virtual Vector2 progress [get]
 
- Properties inherited from MadLevelManager.MadNode
static bool Instantiating [get]
 

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>()
 

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