StressTest_FightOverFiveObjectsController Class |
Namespace: StressTesting
The StressTest_FightOverFiveObjectsController type exposes the following members.
Name | Description | |
---|---|---|
StressTest_FightOverFiveObjectsController | Initializes a new instance of the StressTest_FightOverFiveObjectsController class |
Name | Description | |
---|---|---|
GetRandomVector | Randomly generate a vector with values between -1 and 1 | |
RandomlyMoveAnObject | Randomly move a random object a random amount | |
Start | ||
StopClients | Using ASL SendFloat callback, stop all movement in the scene to compare positions | |
Update |
Name | Description | |
---|---|---|
objectNumber | The object that was selected to be moved | |
randomTime | The random amount of time that needs to go by before an object can be moved | |
StopTest | Flag indicating whether or not all objects in the scene should be stopped so position comparisons can be done | |
TestObjects | All of the ASL objects in this scene. Since these are ASL objects and not GameObjects,
we do not need to get the ASL component before calling ASL scripts like previous examples | |
timer | The amount of time that has gone by |