DiscoverTenerife
Public Member Functions | List of all members
enterButton Class Reference

Class that handles the enter button of a stored place. It chooses the storedPlaceHandler that is on the parent of this button GameObject. More...

Inheritance diagram for enterButton:

Public Member Functions

void OnClick ()
 This class should be called when the user clicks on a stored place. If there is a place stored on the index that has the storedPlaceHandler that is on the parent of this GameObject, it calls the chooseStoredPlace method of StoredPlacesController class with that index. Then, it changes the scene. More...
 

Detailed Description

Class that handles the enter button of a stored place. It chooses the storedPlaceHandler that is on the parent of this button GameObject.

Member Function Documentation

◆ OnClick()

void enterButton.OnClick ( )

This class should be called when the user clicks on a stored place. If there is a place stored on the index that has the storedPlaceHandler that is on the parent of this GameObject, it calls the chooseStoredPlace method of StoredPlacesController class with that index. Then, it changes the scene.


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