UIAnimation
  • 🕶️UIAnimation Documentation
  • Start
    • 🔧How to get started
    • 📜Detailed information on components
  • 📌Animations
    • ✅Main Parameters
    • ⚙️Rotate Animation
    • ⚙️Scale Animation
    • ⚙️Translate Animation
    • ⚙️Activate Object
    • ⚙️Color Animation
    • ⚙️FillAmount Animation
    • ⚙️Particl System
    • ⚙️Sprite Animation
    • ⚙️Canvas Group Animation
    • ⚙️Animator Animation
Powered by GitBook
On this page
  • Interaction Parameters
  • UIAButton
  • UIAPanel
  • How to call Open & Close from a script in UIAPanel
  • How to call Play & Stop from a script in UIAPanel & UIAButton
  • Parameters - UIAController
  1. Start

Detailed information on components


Interaction Parameters

UIAButton

Parameter
Description

Hover

Animation triggers when the mouse hovers over the object.

Press Button

Animation activates when holding down the mouse button on the object.

Click

Animation is triggered on a mouse click.

Script

Animation is triggered or stopped through a script.

Start

Animation runs at the start of the game.

UIAPanel

Parameter
Description

Open

Animation is triggered by the Open method in the script.

Close

Animation runs via the Close method in the script.

Script

Animation is triggered or stopped through a script.

Start

Animation runs at the start of the game.


How to call Open & Close from a script in UIAPanel

using UIAnimation;
using UnityEngine;

public class Test : MonoBehaviour
{
    [SerializeField] UIAPanel uIAPanel;
    void Start()
    {
        uIAPanel.Open();
        uIAPanel.Close();
    }
}

How to call Play & Stop from a script in UIAPanel & UIAButton

using UIAnimation;
using UnityEngine;

public class Test : MonoBehaviour
{
    [SerializeField] UIAPanel uIAPanel;
    [SerializeField] UIAButton uIAButton;
    void Start()
    {
        uIAPanel.Play();
        uIAPanel.Stop();

        uIAButton.Play();
        uIAButton.Stop();
    }
}

Parameters - UIAController

UI Components

Array for - UIAPanel

delayBetweenAnimations

Time interval between consecutive animations

executionMode

Determines when animations should be triggered

IsOnDisable

If enabled, animations will close when object is disabled

loop

If enabled, animations will play in a continuous loop

PreviousHow to get startedNextMain Parameters

Last updated 2 months ago

📜