Description
using UnityEngine;
using Volplane;
public class Demo : VolplaneBehaviour
{
void Update()
{
// When pressing spacebar
if(Input.GetKeyDown(KeyCode.Space))
{
// Display all connected players
foreach(VPlayer player in GetAllPlayers())
{
Debug.Log(player.Nickname);
}
}
}
}
Gets all currently connected players from this AirConsole session.