This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System.Collections.Generic; | |
| using UnityEngine.InputSystem; | |
| using UnityEngine.InputSystem.Layouts; | |
| using UnityEngine.InputSystem.XR; | |
| using UnityEngine.XR; | |
| using UnityEngine.XR.OpenXR.Features; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class TestingMethodsStopwatch : MonoBehaviour | |
| { | |
| Vector2 value = new Vector2(1, 1); | |
| Vector2 vector2Data = new Vector2(2, 2); | |
| bool changed = false; | |
| void Update() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class TestingMethods : MonoBehaviour | |
| { | |
| Vector2 value = new Vector2(1, 1); | |
| Vector2 vector2Data = new Vector2(2, 2); | |
| bool changed = false; | |
| void Update() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class TestingAllocationsStopwatch : MonoBehaviour | |
| { | |
| void Update() | |
| { | |
| TestOne(); | |
| TestNew(); | |
| TestOneMult(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class TestingAllocations : MonoBehaviour | |
| { | |
| void Update() | |
| { | |
| TestOne(); | |
| TestNew(); | |
| TestOneMult(); | |
| } |