Infinite Runner Engine v1.9
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.MMInterface.MMPopup Class Reference

A component to handle popups, their opening and closing More...

Inheritance diagram for MoreMountains.MMInterface.MMPopup:

Public Member Functions

virtual void Open ()
 Opens the popup More...
 
virtual void Close ()
 Closes the popup More...
 

Public Attributes

bool CurrentlyOpen = false
 true if the popup is currently open More...
 
float FaderOpenDuration = 0.2f
 
float FaderCloseDuration = 0.2f
 
float FaderOpacity = 0.8f
 
MMTweenType Tween = new MMTweenType(MMTween.MMTweenCurve.EaseInCubic)
 
int ID = 0
 

Protected Member Functions

virtual void Start ()
 On Start, we initialize our popup More...
 
virtual void Initialization ()
 On Init, we grab our animator and store it for future use More...
 
virtual void Update ()
 On update, we update our animator parameter More...
 

Protected Attributes

Animator _animator
 

Detailed Description

A component to handle popups, their opening and closing

Member Function Documentation

◆ Close()

virtual void MoreMountains.MMInterface.MMPopup.Close ( )
virtual

Closes the popup

◆ Initialization()

virtual void MoreMountains.MMInterface.MMPopup.Initialization ( )
protectedvirtual

On Init, we grab our animator and store it for future use

◆ Open()

virtual void MoreMountains.MMInterface.MMPopup.Open ( )
virtual

Opens the popup

◆ Start()

virtual void MoreMountains.MMInterface.MMPopup.Start ( )
protectedvirtual

On Start, we initialize our popup

◆ Update()

virtual void MoreMountains.MMInterface.MMPopup.Update ( )
protectedvirtual

On update, we update our animator parameter

Member Data Documentation

◆ _animator

Animator MoreMountains.MMInterface.MMPopup._animator
protected

◆ CurrentlyOpen

bool MoreMountains.MMInterface.MMPopup.CurrentlyOpen = false

true if the popup is currently open

◆ FaderCloseDuration

float MoreMountains.MMInterface.MMPopup.FaderCloseDuration = 0.2f

◆ FaderOpacity

float MoreMountains.MMInterface.MMPopup.FaderOpacity = 0.8f

◆ FaderOpenDuration

float MoreMountains.MMInterface.MMPopup.FaderOpenDuration = 0.2f

◆ ID

int MoreMountains.MMInterface.MMPopup.ID = 0

◆ Tween

MMTweenType MoreMountains.MMInterface.MMPopup.Tween = new MMTweenType(MMTween.MMTweenCurve.EaseInCubic)

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