Default AR App
Documentation for the Default AR App project found at https://github.com/ingratexr/unity-ar-boilerplate
ForceUpdate Class Reference

Class that handles the Force Update menu. More...

Inheritance diagram for ForceUpdate:

Public Member Functions

void SetReason (string _reason)
 Set message to user about why they have to update. More...
 
void SetUrl (string _url)
 Set the Url to point to the user to. More...
 
void SetSkipUpdate (bool _allowSkip)
 Sets the skip update button to active if true, inactive if false. More...
 
void OpenUpdateUrl ()
 Open the url that will update the app. More...
 

Detailed Description

Class that handles the Force Update menu.

Member Function Documentation

◆ OpenUpdateUrl()

void ForceUpdate.OpenUpdateUrl ( )

Open the url that will update the app.

◆ SetReason()

void ForceUpdate.SetReason ( string  _reason)

Set message to user about why they have to update.

Parameters
_reasonThe reason they have to update.

◆ SetSkipUpdate()

void ForceUpdate.SetSkipUpdate ( bool  _allowSkip)

Sets the skip update button to active if true, inactive if false.

Parameters
_allowSkipWhether skip update button should be active or not.

◆ SetUrl()

void ForceUpdate.SetUrl ( string  _url)

Set the Url to point to the user to.

Depends on platform, but it's just the Play Store / App Store address of the app.

Parameters
_urlUrl to use.

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