Class that handles the delete button of the stored places panel element.
More...
|
void | OnClick () |
| This method should be called when the delete button is clicked by the user. If the user has not uploaded visits on this stored place, it notify the user to make it aware of what is he doing. If the user hasnt any visit for upload, it just call deleteStoredPlace method of StoredPlacesController class. More...
|
|
|
void | Start () |
| This method is called on the first frame. It initialices the shouldAdviseUser_ property as true. More...
|
|
Class that handles the delete button of the stored places panel element.
◆ OnClick()
void trashButton.OnClick |
( |
| ) |
|
This method should be called when the delete button is clicked by the user. If the user has not uploaded visits on this stored place, it notify the user to make it aware of what is he doing. If the user hasnt any visit for upload, it just call deleteStoredPlace method of StoredPlacesController class.
◆ Start()
void trashButton.Start |
( |
| ) |
|
|
private |
This method is called on the first frame. It initialices the shouldAdviseUser_ property as true.
◆ numberOfNotUploadedVisits_
GameObject trashButton.numberOfNotUploadedVisits_ |
|
private |
GameObject that will shown the number of not uploaded visits of the stored place.
◆ shouldAdviseUser_
bool trashButton.shouldAdviseUser_ |
|
private |
True if it has to notify the user before deleting the stored place. False if it has not to notify the user.
◆ toastMessageObject_
GameObject trashButton.toastMessageObject_ |
|
private |
GameObject with the reference to the toastmessage where the messages will be shown.
The documentation for this class was generated from the following file: