This file contains 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 System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Diagnostics; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEditorInternal; | |
using Debug = UnityEngine.Debug; |
This file contains 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; | |
using UnityEditor; | |
[InitializeOnLoad] | |
public static class SceneViewCameraHandler | |
{ | |
public class SceneInfo | |
{ | |
public SceneView view; | |
public Camera camera; |
This file contains 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
/// <summary> | |
/// Simple manual timer class | |
/// </summary> | |
[System.Serializable] | |
public class Timer | |
{ | |
public float startTime = 0; | |
public float endTime = 0; | |
public bool IsFinished => currentTime >= endTime; |