STANDARD ANIMATIONS
A downloadable tool
Download NowName your own price
Version: 1.3.0
Description:
A library for various coded animations.Use Cases:
- Quickly add simple animations to GameObjects and UI elements.
Directions for Use:
All of the key components can be used out-of-the box, and each one is pretty straightforward to set up. One thing to note, StandardAnimation is an abstract class with methods Enter(), EnterImmediate(), Exit(), and ExitImmediate(). Drawer, CanvasGroupAnimator, and ScaleAnimator all inherit from StandardAnimation. StandardAnimationGroup is a simple component that can be used to group and control multiple StandardAnimations.Package Mirrors:
Key Scripts & Components:
- public abstract class StandardAnimation : MonoBehaviour
- Properties:
- public float Seconds { get; }
- Methods:
- public abstract void Enter()
- public abstract void Enter(Action onComplete)
- public abstract void Enter(float animationSeconds, Action onComplete)
- public abstract void EnterImmediate()
- public abstract void EnterImmediate(Action onComplete)
- public abstract void Exit()
- public abstract void Exit(Action onComplete)
- public abstract void Exit(float animationSeconds, Action onComplete)
- public abstract void ExitImmediate()
- public abstract void ExitImmediate(Action onComplete)
- public class StandardAnimationGroup : MonoBehaviour
- Properties:
- public StandardAnimation[] StandardAnimations { get; }
- Methods:
- public void ExitImmediate()
- public void Exit()
- public void EnterImmediate()
- public void Enter()
Aim Constraints
- public class LocalAimConstraint : MonoBehaviour
- Properties:
- public Transform Target { get; set; }
Cameras
- public class CameraFieldOfViewAnimator : MonoBehaviour
- Properties:
- public float Seconds { get; }
- public float ZoomedOutFieldOfView { get; }
- public float ZoomedInFieldOfView { get; }
- public float CurrentFieldOfView { get; }
- Methods:
- public void ZoomIn()
- public void ZoomIn(Action onComplete)
- public void ZoomIn(float animationSeconds, Action onComplete)
- public void ZoomInImmediate()
- public void ZoomInImmediate(Action onComplete)
- public void ZoomOut()
- public void ZoomOut(Action onComplete)
- public void ZoomOut(float animationSeconds, Action onComplete)
- public void ZoomOutImmediate()
- public void ZoomOutImmediate(Action onComplete)
- public void ZoomTo(float fieldOfView)
- public void ZoomTo(float fieldOfView, Action onComplete)
- public void ZoomTo(float fieldOfView, float animationSeconds, Action onComplete)
- public void ZoomToImmediate(float fieldOfView)
- public void ZoomToImmediate(float fieldOfView, Action onComplete)
Canvas Groups
- public class CanvasGroupAnimateByPosition : MonoBehaviour
- public class CanvasGroupAnimator : StandardAnimation
- Methods:
- public override void Enter()
- public override void Enter(Action onComplete)
- public override void Enter(float animationSeconds, Action onComplete)
- public void FadeIn()
- public void FadeIn(Action onComplete)
- public void FadeIn(float animationSeconds, Action onComplete)
- public override void EnterImmediate()
- public override void EnterImmediate(Action onComplete)
- public void FadeInImmediate()
- public void FadeInImmediate(Action onComplete)
- public override void Exit()
- public override void Exit(Action onComplete)
- public override void Exit(float animationSeconds, Action onComplete)
- public void FadeOut()
- public void FadeOut(Action onComplete)
- public void FadeOut(float animationSeconds, Action onComplete)
- public override void ExitImmediate()
- public override void ExitImmediate(Action onComplete)
- public void FadeOutImmediate()
- public void FadeOutImmediate(Action onComplete)
- public class CanvasGroupPulser : MonoBehaviour
Rect Transforms
- public class Drawer : StandardAnimation
- Actions:
- public event Action OnCurrentTargetChanged
- public event Action OnMoving
- Properties:
- public float PreviousTarget { get; }
- public float CurrentTarget { get; }
- Methods:
- public Drawer Initialize(float seconds, Vector2 anchorMinOpen, Vector2 anchorMaxOpen, Vector2 anchorMinClosed, Vector2 anchorMaxClosed)
- public override void Enter()
- public override void Enter(Action onComplete)
- public override void Enter(float animationSeconds, Action onComplete)
- public float Open()
- public float Open(Action onComplete)
- public float Open(float animationSeconds, Action onComplete)
- public override void EnterImmediate()
- public override void EnterImmediate(Action onComplete)
- public void OpenImmediate()
- public void OpenImmediate(Action onComplete)
- public override void Exit()
- public override void Exit(Action onComplete)
- public override void Exit(float animationSeconds, Action onComplete)
- public float Close()
- public float Close(Action onComplete)
- public float Close(float animationSeconds, Action onComplete)
- public override void ExitImmediate()
- public override void ExitImmediate(Action onComplete)
- public void CloseImmediate()
- public void CloseImmediate(Action onComplete)
- public float SetTarget(float target, Action onComplete)
- public void SetTargetImmediate(float target)
- public class DrawerSFX : MonoBehaviour
- public class FlippableRect : MonoBehaviour
- Properties:
- public GameObject FrontSide { get; }
- public GameObject BackSide { get; }
- Methods:
- public void Flip()
- public void FlipToFront()
- public void FlipToBack()
- public struct Padding
- Properties:
- public float Top { get; }
- public float Right { get; }
- public float Bottom { get; }
- public float Left { get; }
- public class RectTransformMatcher : MonoBehaviour
- Methods:
- public void LateUpdate()
- public class RectTransformPointFollower : MonoBehaviour
- Methods:
- public void LateUpdate()
- public class RectTransformPositionAnimator : MonoBehaviour
- Methods:
- public void Reset()
- public void SetPosition(Vector2 anchorMin, Vector2 anchorMax)
Rotation
- public class Rotator : MonoBehaviour
Scale
- public class ScalePulser : MonoBehaviour
- public class ScaleUpAndDownAnimator : StandardAnimation
- Methods:
- public override void Enter()
- public override void Enter(Action onComplete)
- public override void Enter(float animationSeconds, Action onComplete)
- public void ScaleUp()
- public void ScaleUp(Action onComplete)
- public void ScaleUp(float animationSeconds, Action onComplete)
- public override void EnterImmediate()
- public override void EnterImmediate(Action onComplete)
- public void ScaleUpImmediate()
- public void ScaleUpImmediate(Action onComplete)
- public override void Exit()
- public override void Exit(Action onComplete)
- public override void Exit(float animationSeconds, Action onComplete)
- public void ScaleDown()
- public void ScaleDown(Action onComplete)
- public void ScaleDown(float animationSeconds, Action onComplete)
- public override void ExitImmediate()
- public override void ExitImmediate(Action onComplete)
- public void ScaleDownImmediate()
- public void ScaleDownImmediate(Action onComplete)
Status | Released |
Category | Tool |
Author | Iron Mountain |
Tags | Animation, components, Game Design, iron-mountain, tool, Unity |
Download
Download NowName your own price
Click download now to get access to the following files:
com.iron-mountain.standard-animations.unitypackage 42 kB
Leave a comment
Log in with itch.io to leave a comment.