HoloLens 2 Gait Training
The purpose of this project is to create gait training application.
|
This script is responsible for spawning the avatar in the scene. More...
Public Member Functions | |
void | SpawnAvatar () |
Spawn the avatar corresponding to the specified index. More... | |
Private Member Functions | |
void | Update () |
Gets called per each frame More... | |
void | SetVisibleCellIndex () |
Set the current cell index belong to the avatar. More... | |
Private Attributes | |
ScrollingObjectCollection | m_Scrollview |
Reference to the scrollview More... | |
GameObject[] | m_AvatarPrefabs |
Reference to the avatar prefabs. More... | |
int | m_AvatarIndex = -1 |
Avatar index value. More... | |
GameObject | m_LastAvatar |
Last avatar. More... | |
Static Private Attributes | |
const int | m_NumberOfAvatars = 7 |
Defines the number of avatars. More... | |
This script is responsible for spawning the avatar in the scene.
Definition at line 8 of file AvatarSpawner.cs.
|
inlineprivate |
Set the current cell index belong to the avatar.
Definition at line 37 of file AvatarSpawner.cs.
|
inline |
Spawn the avatar corresponding to the specified index.
Definition at line 51 of file AvatarSpawner.cs.
|
inlineprivate |
Gets called per each frame
Definition at line 29 of file AvatarSpawner.cs.
|
private |
Avatar index value.
Definition at line 18 of file AvatarSpawner.cs.
|
private |
Reference to the avatar prefabs.
Definition at line 15 of file AvatarSpawner.cs.
|
private |
Last avatar.
Definition at line 24 of file AvatarSpawner.cs.
|
staticprivate |
Defines the number of avatars.
Definition at line 21 of file AvatarSpawner.cs.
|
private |
Reference to the scrollview
Definition at line 12 of file AvatarSpawner.cs.