TopDown Engine v4.3
MoreMountains.TopDownEngine.DeadlineCollectible Class Reference

This class is used in the Deadline demos to mark collectibles and disable them if they've been collected in a past visit of the level More...

Inheritance diagram for MoreMountains.TopDownEngine.DeadlineCollectible:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMMonoBehaviour

Public Member Functions

virtual void Collect ()
 Call this to collect this collectible and keep track of it in the future More...
 

Public Attributes

string CollectibleName = ""
 

Protected Member Functions

virtual void Start ()
 On Start we disable our game object if needed More...
 
virtual void DisableIfAlreadyCollected ()
 Disables the game object if it's already been collected in the past. More...
 
virtual void Disable ()
 Disable this game object. More...
 

Detailed Description

This class is used in the Deadline demos to mark collectibles and disable them if they've been collected in a past visit of the level

Member Function Documentation

◆ Collect()

virtual void MoreMountains.TopDownEngine.DeadlineCollectible.Collect ( )
virtual

Call this to collect this collectible and keep track of it in the future

◆ Disable()

virtual void MoreMountains.TopDownEngine.DeadlineCollectible.Disable ( )
protectedvirtual

Disable this game object.

◆ DisableIfAlreadyCollected()

virtual void MoreMountains.TopDownEngine.DeadlineCollectible.DisableIfAlreadyCollected ( )
protectedvirtual

Disables the game object if it's already been collected in the past.

◆ Start()

virtual void MoreMountains.TopDownEngine.DeadlineCollectible.Start ( )
protectedvirtual

On Start we disable our game object if needed

Member Data Documentation

◆ CollectibleName

string MoreMountains.TopDownEngine.DeadlineCollectible.CollectibleName = ""

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