This interface handles mobile-specific issues such as UI and opening the Kongregate panel.
More...
This interface handles mobile-specific issues such as UI and opening the Kongregate panel.
◆ ButtonGetRect()
Rect Kongregate.IMobile.ButtonGetRect |
( |
| ) |
|
Returns the Rect of the Kongregate button.
- Returns
- The Rect containing the bounds of the button
◆ ButtonGetTexture()
Texture2D Kongregate.IMobile.ButtonGetTexture |
( |
| ) |
|
Retrieve a texture for the Kongregate button.
- Returns
- The Texture2D representation of the Kongregate button
◆ ButtonIsHidden()
bool Kongregate.IMobile.ButtonIsHidden |
( |
| ) |
|
Determines if the Kongregate button is hidden.
- Returns
- True if the button is hidden
◆ ButtonIsNativeRendering()
bool Kongregate.IMobile.ButtonIsNativeRendering |
( |
| ) |
|
Determines if the Kongregate button is being rendered natively.
- Returns
- True if native rendering is enabled
◆ ButtonSetNativeRendering()
void Kongregate.IMobile.ButtonSetNativeRendering |
( |
bool |
nativeRendering | ) |
|
Sets whether native button rendering is enabled.
If enabled, the SDK will handle rendering of the button. Otherwise you must handle drawing and handling clicks on your own.
- Parameters
-
nativeRendering | Flag determining whether native rendering is enabled |
◆ ButtonSetSize()
void Kongregate.IMobile.ButtonSetSize |
( |
int |
size | ) |
|
Set the size of the Kongregate button.
- Parameters
-
◆ ButtonSetX()
void Kongregate.IMobile.ButtonSetX |
( |
int |
x | ) |
|
Set the X coordinate of the Kongregate button.
- Parameters
-
◆ ButtonSetY()
void Kongregate.IMobile.ButtonSetY |
( |
int |
y | ) |
|
Set the Y coordinate of the Kongregate button.
- Parameters
-
◆ GetOpenURL()
string Kongregate.IMobile.GetOpenURL |
( |
| ) |
|
◆ OpenKongregateWindow() [1/2]
void Kongregate.IMobile.OpenKongregateWindow |
( |
string |
target | ) |
|
Opens the Kongregate window to target.
- Parameters
-
target | the page to open to (e.g. Mobile.TARGET_MORE_GAMES) |
◆ OpenKongregateWindow() [2/2]
void Kongregate.IMobile.OpenKongregateWindow |
( |
string |
target, |
|
|
string |
id |
|
) |
| |
Opens the Kongregate window to a specific item on the target page.
For example a topic.
- Parameters
-
target | the page to open to (e.g. Mobile.TOPICS) |
id | the id on the page to open to (e.g. 1234) |
◆ TrackPurchase()
void Kongregate.IMobile.TrackPurchase |
( |
string |
productID, |
|
|
int |
quantity |
|
) |
| |
◆ Trigger()
void Kongregate.IMobile.Trigger |
( |
string |
name | ) |
|
Triggers an event from the game to the Kongregate SDK.
- Parameters
-
The documentation for this interface was generated from the following file: