VolplaneBehaviour

class in Volplane namespace / inherits from MonoBehaviour

Public Methods

GetPlayer Get the player object from a specific player.
GetPlayerId Get the player identifier from a specific player.
GetAllPlayers Get all connected players.
GetAllActivePlayers Get all active players.
GetAllInactivePlayers Get all inactive players.
GetMaster Get player object from game master.
GetMasterId Get player identifier from game master.
SetPlayersActive Set a specified amount of players active.
SetAllPlayersActive Set all players active.
SetAllPlayersInactive Set all players inactive.
SetActive Set a specific player active or inactive.
SaveUserData Set a specific player active or inactive.
SetStandardView Set a standard controller view to load for every newly connected player.
GetCurrentView Get the current controller view of a player.
ChangeView Change the controller view of a player.
ChangeViewAll Change the controller view for all players.
ChangeViewAllActive Change the controller view for all active players.
ChangeViewAllInactive Change the controller view for all inactive players.
ResetView Resets a controller view of a player.
TrackingControllerMotion Start or stop tracking a players controller motion.
VibrateController Vibrate a players controller.
RequestAd Request AirConsole advertisement.

Messages / Events

General

OnReady Is called when the connection to AirConsole API is ready.
OnConnect Is called when a player connects.
OnDisconnect Is called when a player disconnects.
OnHero Is called when a player becomes AirConsole Hero.
OnAdShow Is called when an AirConsole advertisement is shown.
OnAdComplete Is called when an AirConsole advertisement has ended.
OnPlayerProfileChange Is called when a players profile settings changed.
OnUserDataSaved Is called when a players user data has been synced with the AirConsole servers.

Input Handling

OnButton Is called when a players controller sends button data.
OnDPad Is called when a players controller sends d-pad data.
OnJoystick Is called when a players controller sends joystick data.
OnSwipe Is called when a players controller sends swipe field data.
OnTouch Is called when a players controller sends touch area data.
OnAccelerometer Is called when a players controller sends accelerometer data.
OnGyroscope Is called when a players controller sends gyroscope data.