HoloLens 2 Gait Training
The purpose of this project is to create gait training application.
Loading...
Searching...
No Matches
RemoveAllComponents.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine;
4
5
public
class
RemoveAllComponents
: MonoBehaviour
6
{
10
public
void
RemoveAllNoiseComponents
()
11
{
12
foreach
(var comp
in
this.gameObject.GetComponents<Component>())
13
{
14
if
( ( comp is Transform ) !=
true
&& ( comp is
RemoveAllComponents
) !=
true
)
15
{
16
Destroy(comp);
17
}
18
}
19
}
20
}
RemoveAllComponents
Definition:
RemoveAllComponents.cs:6
RemoveAllComponents.RemoveAllNoiseComponents
void RemoveAllNoiseComponents()
Definition:
RemoveAllComponents.cs:10
Assets
_HoloLens_Avatar
Scripts
Runtime
ColoredNoise
RemoveAllComponents.cs
Generated on Wed May 31 2023 22:32:57 for HoloLens 2 Gait Training by
1.9.5