Skip to content

Instantly share code, notes, and snippets.

View keveleigh's full-sized avatar

Kurtis keveleigh

View GitHub Profile
// 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;
@keveleigh
keveleigh / TestingMethodsStopwatch.cs
Created April 30, 2019 17:50
TestingMethods Stopwatch
using UnityEngine;
public class TestingMethodsStopwatch : MonoBehaviour
{
Vector2 value = new Vector2(1, 1);
Vector2 vector2Data = new Vector2(2, 2);
bool changed = false;
void Update()
@keveleigh
keveleigh / TestingMethods.cs
Created April 30, 2019 17:45
TestingMethods
using UnityEngine;
public class TestingMethods : MonoBehaviour
{
Vector2 value = new Vector2(1, 1);
Vector2 vector2Data = new Vector2(2, 2);
bool changed = false;
void Update()
@keveleigh
keveleigh / TestingAllocationsStopwatch.cs
Last active April 30, 2019 17:35
TestingAllocations Stopwatch
using UnityEngine;
public class TestingAllocationsStopwatch : MonoBehaviour
{
void Update()
{
TestOne();
TestNew();
TestOneMult();
}
@keveleigh
keveleigh / TestingAllocations.cs
Last active April 30, 2019 17:26
TestingAllocations
using UnityEngine;
public class TestingAllocations : MonoBehaviour
{
void Update()
{
TestOne();
TestNew();
TestOneMult();
}