DiscoverTenerife
Public Member Functions | Private Member Functions | Private Attributes | List of all members
goBackButton Class Reference

Class that controls the goBackButton prefab. More...

Inheritance diagram for goBackButton:

Public Member Functions

void OnClick ()
 This method should be called when the user clicks on the button. It calls the changeScene method of ChangeScene class with the NombrePantalla_ property string. More...
 
void changeSceneWithAnimation ()
 This method should be called when the user clicks on the button. It calls the changeSceneWithAnimation method of ChangeScene class with the NombrePantalla_ property string. More...
 

Private Member Functions

void Update ()
 This method is called onces per frame, it checks if the user is pressing the escape button on an android device, if that is the case, it calls the OnClick method. More...
 

Private Attributes

string NombrePantalla_ = "PantallaLogin"
 string that contains the name of the scene that you will go if you call either the Onclick or the changeSceneWithAnimation methods. More...
 

Detailed Description

Class that controls the goBackButton prefab.

Member Function Documentation

◆ changeSceneWithAnimation()

void goBackButton.changeSceneWithAnimation ( )

This method should be called when the user clicks on the button. It calls the changeSceneWithAnimation method of ChangeScene class with the NombrePantalla_ property string.

◆ OnClick()

void goBackButton.OnClick ( )

This method should be called when the user clicks on the button. It calls the changeScene method of ChangeScene class with the NombrePantalla_ property string.

◆ Update()

void goBackButton.Update ( )
private

This method is called onces per frame, it checks if the user is pressing the escape button on an android device, if that is the case, it calls the OnClick method.

Member Data Documentation

◆ NombrePantalla_

string goBackButton.NombrePantalla_ = "PantallaLogin"
private

string that contains the name of the scene that you will go if you call either the Onclick or the changeSceneWithAnimation methods.


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