Antura  1.1.0
Antura.Rewards.RewardsScene Class Reference

Manages the Rewards scene. Accessed after a learning block is completed. More...

Inheritance diagram for Antura.Rewards.RewardsScene:
Antura.SceneBase Antura.Utilities.SingletonMonoBehaviour< SceneBase >

Public Member Functions

void ShowReward ()
 
void ClearLoadedRewardsOnAntura ()
 
RewardPackUnlockData GetRewardToInstantiate ()
 Gets the reward to instantiate. More...
 
GameObject InstantiateReward (RewardPackUnlockData _rewardToInstantiate)
 Instantiates the reward, mount on antura and return gameobject. More...
 
void Continue ()
 

Public Attributes

AnturaAnimationStates AnturaAnimation = AnturaAnimationStates.sitting
 
AnturaAnimationController AnturaAnimController
 
Button AnturaSpaceBtton
 
- Public Attributes inherited from Antura.SceneBase
Music SceneMusic
 

Protected Member Functions

override void Start ()
 
- Protected Member Functions inherited from Antura.Utilities.SingletonMonoBehaviour< SceneBase >
virtual void Awake ()
 
virtual void Init ()
 
virtual void Finalise ()
 

Additional Inherited Members

- Properties inherited from Antura.Utilities.SingletonMonoBehaviour< SceneBase >
static T I [get]
 
string TypeName [get]
 

Detailed Description

Manages the Rewards scene. Accessed after a learning block is completed.

Member Function Documentation

◆ ClearLoadedRewardsOnAntura()

void Antura.Rewards.RewardsScene.ClearLoadedRewardsOnAntura ( )

◆ Continue()

void Antura.Rewards.RewardsScene.Continue ( )

◆ GetRewardToInstantiate()

RewardPackUnlockData Antura.Rewards.RewardsScene.GetRewardToInstantiate ( )

Gets the reward to instantiate.

Returns

◆ InstantiateReward()

GameObject Antura.Rewards.RewardsScene.InstantiateReward ( RewardPackUnlockData  _rewardToInstantiate)

Instantiates the reward, mount on antura and return gameobject.

Parameters
_rewardToInstantiateThe reward to instantiate.
Returns

◆ ShowReward()

void Antura.Rewards.RewardsScene.ShowReward ( )

◆ Start()

override void Antura.Rewards.RewardsScene.Start ( )
protectedvirtual

Reimplemented from Antura.SceneBase.

Member Data Documentation

◆ AnturaAnimation

AnturaAnimationStates Antura.Rewards.RewardsScene.AnturaAnimation = AnturaAnimationStates.sitting

◆ AnturaAnimController

AnturaAnimationController Antura.Rewards.RewardsScene.AnturaAnimController

◆ AnturaSpaceBtton

Button Antura.Rewards.RewardsScene.AnturaSpaceBtton

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