|
enum | ScaleMode { None,
FitToAreaWidth,
FitToAreaHeight,
Free
} |
|
|
void | MoveToLocal (Vector2 position) |
|
void | MoveToLocal (Vector2 position, MadiTween.EaseType easeType, float time) |
|
T | CreateChild< T > (string name) |
|
T | CreateChild< T > (string name, T template) |
|
MadNode | CreateChild (string name, GameObject template) |
|
T | FindParent< T > () |
|
|
Bounds | dragBounds = new Bounds(Vector3.zero, new Vector3(400, 400)) |
|
ScaleMode | scaleMode |
|
float | scalingMax = 2 |
|
float | scalingMin = 0.25f |
|
bool | moveEasing = true |
|
bool | scaleEasing = true |
|
MadiTween.EaseType | scaleEasingType = MadiTween.EaseType.easeOutQuad |
|
float | scaleEasingDuration = 0.5f |
|
Rect | dragArea = new Rect(0, 0, 0, 0) |
|
bool | scaling = false |
|
MadiTween.EaseType | moveEasingType = MadiTween.EaseType.easeOutQuad |
|
float | moveEasingDuration = 0.5f |
|
bool | managed |
|
|
override void | OnEnable () |
|
override void | Start () |
|
override void | Update () |
|
virtual void | FixedUpdate () |
|
virtual void | LateUpdate () |
|
bool | IsTouchingSingle () |
|
bool | IsTouchingJustStarted () |
|
bool | IsTouchingJustEnded () |
|
Vector2 | TouchPosition () |
|
void | RegisterDelta (Vector2 delta) |
|
Vector2 | ApplyScreenAspect (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) |
|
|
override Vector2 | progress [get] |
|
float | lastTouchTime [get, set] |
|
Vector2 | lastTouchCameraPos [get, set] |
|
bool | dragging [get, protected set] |
|
Vector2 | cameraPos [get, set] |
|
virtual Vector2 | progress [get] |
|
static bool | Instantiating [get] |
|
|
Vector2 | lastPosition |
|
Vector2 | inertiaForce = Vector2.zero |
|
float | dragDistance |
|
float | deadDistance = 50 |
|
Vector2 | cachedCamPos |
|
Vector2 | estaminatedPos |
|
List< Touch > | multiTouches = new List<Touch>() |
|
MadRootNode | root |
|
The documentation for this class was generated from the following file:
- Assets/Mad Level Manager/Scripts/Mad2D/MadFreeDraggable.cs