![]() |
Project Arrhythmia
A video game developed by Vitamin Games.
|
A class that manages players in the game. More...
Inheritance diagram for VGPlayerManager:Classes | |
| class | VGPlayerData |
Public Types | |
| enum | RumbleType { Deep = 0 , Light = 1 } |
| enum | RumbleDuration { Tap = 100 , Short = 500 , Long = 1000 } |
Public Member Functions | |
| delegate void | SpawnPlayersDelegate (Vector3 _pos, List< int > _playerIDs=null) |
| void | SetPlayerText (string _text, float _displayLength=0.5f) |
| void | SetPlayerLocation (Vector2 _pos, float _length=0.5f) |
| void | SetPlayerDashLock (bool _canDash) |
| void | SetPlayerMoveXLock (bool _canMoveX) |
| void | SetPlayerMoveYLock (bool _canMoveY) |
| void | SetPlayerDashDirection (Vector2 _direction) |
| void | InitPlayerStatus () |
| void | CheckControllers () |
| void | InitPlayers () |
| void | HandleControllerAssignments () |
| void | DisableSteamInput () |
| void | ResetEnabledControllers () |
| int | FindPlayer (int _i) |
| void | SpawnPlayers (Vector2 _pos, System.Action< int, Vector3 > _hitAction, System.Action< Vector3 > _closeCallAction, System.Action< Vector3 > _deathAction, int _health) |
| void | RespawnPlayers () |
| void | DisplayNotification (string _body, float _time=1.5f) |
| void | DisplayNotificationImportant (string _body, float _time=1.5f) |
| bool | CheckMouse () |
| bool | CheckJoysticks () |
| bool | CheckKeyboard () |
| void | UpdateSelection (GameObject _newSelection) |
| bool | ShouldSetSelection () |
| void | SetAutoSelectionOverride (bool _setting) |
| void | CheckForControllerChange () |
| void | SetControllerType (ControllerType _type, bool _showNotif=true) |
| override void | OnAwake () |
| void | OnDestroy () |
| void | CleanUpNotifs () |
| void | SetAllControllerRumble (RumbleType _rumble, RumbleDuration _duration, float _strength) |
| void | SetAllControllerRumbleRaw (int _rumble, float _duration, float _strength) |
Public Member Functions inherited from SingletonBase< VGPlayerManager > | |
| virtual void | Awake () |
Static Public Member Functions | |
| static bool | ValidPlayer (Rewired.Player _player) |
Public Attributes | |
| Dictionary< SystemManager.ControlType, List< ControllerType > > | ValidControlTypes |
| GameObject | LastSelection |
| ControllerType | CurrentControllerType |
| GameObject | PlayerPrefab |
| List< VGPlayerData > | players = new List<VGPlayerData>() |
| UI_Generic | NotifWindow |
| UI_Text | NotifText |
| Canvas | RewiredCanvas |
| Canvas | PointerCanvas |
| SystemManager.ControlType | CurrentControlType |
| System.Action< Vector2, float > | PlayerMovementEvent |
| System.Action< string, float > | PlayerTextEvent |
| System.Action< bool > | PlayerDashLockEvent |
| System.Action< bool > | PlayerMoveXLockEvent |
| System.Action< bool > | PlayerMoveYLockEvent |
| System.Action< Vector2 > | PlayerDashDirectionEvent |
| System.Action< ControllerType, ControllerType > | UpdateControllerTypeEvent |
Public Attributes inherited from SingletonBase< VGPlayerManager > | |
| bool | DestroySingleton |
Events | |
| SpawnPlayersDelegate | SpawnPlayersEvent |
Private Attributes | |
| EventSystem | evt |
| bool | stopAutoSelection |
| bool | importantNotif = false |
| float | notifCountdown = 0 |
| bool | showingNotif = false |
Additional Inherited Members | |
Properties inherited from SingletonBase< VGPlayerManager > | |
| static T | Inst [get] |
A class that manages players in the game.
This class contains properties and methods related to managing the players in the game. It includes operations like spawning players, handling UI events, and managing player data.
|
virtual |
Reimplemented from SingletonBase< VGPlayerManager >.
| Dictionary<SystemManager.ControlType, List<ControllerType> > VGPlayerManager.ValidControlTypes |