Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feel.FeelDemosInstructions Class Reference

This class handles the instruction texts that appear in the Feel demo scenes More...

Inheritance diagram for MoreMountains.Feel.FeelDemosInstructions:

Public Attributes

Text TargetText
 a text component where we'll display instructions More...
 
float DisappearDelay = 3f
 the delay, in seconds, before instructions disappear More...
 
float DisappearDuration = 0.3f
 the duration, in seconds, of the instructions disappearing transition More...
 
string DesktopText = "Press space to..."
 the text to display when running the demos on desktop More...
 
string MobileText = "Tap anywhere to..."
 the text to display when running the demos on mobile More...
 

Protected Member Functions

virtual void Awake ()
 On Awake we detect our platform and assign text accordingly More...
 
virtual IEnumerator DisappearCo ()
 A coroutine used to hide the instructions after a while More...
 

Protected Attributes

CanvasGroup _canvasGroup
 

Detailed Description

This class handles the instruction texts that appear in the Feel demo scenes

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Feel.FeelDemosInstructions.Awake ( )
protectedvirtual

On Awake we detect our platform and assign text accordingly

◆ DisappearCo()

virtual IEnumerator MoreMountains.Feel.FeelDemosInstructions.DisappearCo ( )
protectedvirtual

A coroutine used to hide the instructions after a while

Returns

Member Data Documentation

◆ _canvasGroup

CanvasGroup MoreMountains.Feel.FeelDemosInstructions._canvasGroup
protected

◆ DesktopText

string MoreMountains.Feel.FeelDemosInstructions.DesktopText = "Press space to..."

the text to display when running the demos on desktop

◆ DisappearDelay

float MoreMountains.Feel.FeelDemosInstructions.DisappearDelay = 3f

the delay, in seconds, before instructions disappear

◆ DisappearDuration

float MoreMountains.Feel.FeelDemosInstructions.DisappearDuration = 0.3f

the duration, in seconds, of the instructions disappearing transition

◆ MobileText

string MoreMountains.Feel.FeelDemosInstructions.MobileText = "Tap anywhere to..."

the text to display when running the demos on mobile

◆ TargetText

Text MoreMountains.Feel.FeelDemosInstructions.TargetText

a text component where we'll display instructions


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