HoloLens 2 Gait Training
The purpose of this project is to create gait training application.
Loading...
Searching...
No Matches
NoiseController.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4
8public class NoiseController : SingletonMonobehaviour<NoiseController>
9{
10
12
13 public BaseNoiseClass BaseNoise { get => m_BaseNoise; set => m_BaseNoise = value; }
14
19 {
20 }
21
26 public void ApplyNoise()
27 {
29 }
30
35 public void CancelNoise()
36 {
38 }
39
44 public void SetNewDistribution()
45 {
46 if ( string.Equals( BaseNoise.CurrentPattern.text, "Noise: Pink" ) || ( string.Equals( BaseNoise.CurrentPattern.text, "Noise: Random" ) ) )
47 {
49 }
50 }
51
52}
virtual void GenerateNewDistribution()
Generate a new normal(Gaussian) distribution Mapped to NoiseDataPanel NewDistribution button.
abstract void ApplyPattern()
Calculate the noise according to the user input. Mapped to NoiseDataPanel ApplyPattern button.
TextMeshPro CurrentPattern
Property to get the current noise in use (Read-Only)
virtual void CanclePattern()
Cancel the current noise pattern and reset it with default speed. Mapped to NoiseDataPanel CancelPatt...
This class initiate appopriate noise objects.
BaseNoiseClass BaseNoise
void ApplyNoise()
Calculate the noise according to the user input. Mapped to NoiseDataPanel ApplyPattern button.
NoiseController()
Default Constructor
void CancelNoise()
Cancel the current noise pattern and reset it with default speed. Mapped to NoiseDataPanel CancelPatt...
void SetNewDistribution()
Generate a new normal(Gaussian) distribution Mapped to NoiseDataPanel NewDistribution button.
BaseNoiseClass m_BaseNoise
Abstract class that inherited by all the game managers. All the game managers use singleton since gam...