Tilt Five™ Unity API  1.3.0
 
Loading...
Searching...
No Matches
PlayerSettings.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4using TiltFive;
5
6namespace TiltFive
7{
8 [System.Serializable]
9 public class PlayerSettings
10 {
11 #region Sub-settings
12
14
16
18
21
22 #endregion
23
24
25 #region Public Properties
26
28
29 public static uint MAX_SUPPORTED_PLAYERS => GlassesSettings.MAX_SUPPORTED_GLASSES_COUNT;
30
31 #endregion
32
33
34 #region Public Functions
35
36 public void Validate()
37 {
38 rightWandSettings.controllerIndex = ControllerIndex.Right;
39 leftWandSettings.controllerIndex = ControllerIndex.Left;
40 }
41
42 #endregion
43 }
44}
GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute ...
ScaleSettings scaleSettings
GameBoardSettings gameboardSettings
static uint MAX_SUPPORTED_PLAYERS
WandSettings leftWandSettings
GlassesSettings glassesSettings
WandSettings rightWandSettings
ScaleSettings contains the scale data used to translate between Unity units and the user's physical s...
Wand Settings encapsulates all configuration data used by the Wand's tracking runtime to compute the ...
Definition: Wand.cs:38
Definition: Log.cs:21
ControllerIndex
Since wands are all physically identical (they have no "handedness"), it doesn't make sense to addres...
PlayerIndex
The Player index (e.g. Player One, Player Two, etc)