Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
ScrollAnimationManager Class Reference

Detailed Description

Plays the scroll open and close animation for the Ability Inventory in the Skyhub, as well as the events that then render the inventory elements.

Documentation updated 4/17/2025

Author
Stephen Nuttall

Public Member Functions

void PlayOpenAnimation ()
 Plays the animation of the scroll opening.
 
void PlayCloseAnimation ()
 Plays the animation of the scroll closing.
 
void OpenInventory ()
 Displays the widgets of the ability inventory UI.
 
void CloseInventory ()
 Hides the widgets of the ability inventory UI.
 

Private Attributes

Image scrollBackground
 Reference to the scroll background image itself.
 
Animator scrollAnimator
 Reference to the animator for the inventory background, which animates the opening and closing of the scroll.
 
AbilityInventoryUI abilityInventoryUI
 Reference to the ability inventory UI script, which handles the display and functionality of the ability inventory UI.
 
bool animationPlaying = false
 True if an animation is already playing.
 

Member Function Documentation

◆ CloseInventory()

void ScrollAnimationManager.CloseInventory ( )

Hides the widgets of the ability inventory UI.

◆ OpenInventory()

void ScrollAnimationManager.OpenInventory ( )

Displays the widgets of the ability inventory UI.

◆ PlayCloseAnimation()

void ScrollAnimationManager.PlayCloseAnimation ( )

Plays the animation of the scroll closing.

◆ PlayOpenAnimation()

void ScrollAnimationManager.PlayOpenAnimation ( )

Plays the animation of the scroll opening.

Member Data Documentation

◆ abilityInventoryUI

AbilityInventoryUI ScrollAnimationManager.abilityInventoryUI
private

Reference to the ability inventory UI script, which handles the display and functionality of the ability inventory UI.

◆ animationPlaying

bool ScrollAnimationManager.animationPlaying = false
private

True if an animation is already playing.

◆ scrollAnimator

Animator ScrollAnimationManager.scrollAnimator
private

Reference to the animator for the inventory background, which animates the opening and closing of the scroll.

◆ scrollBackground

Image ScrollAnimationManager.scrollBackground
private

Reference to the scroll background image itself.


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