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
#include <future> | |
#include <functional> | |
#include <thread> | |
#include <chrono> | |
#include <utility> | |
#include <iostream> | |
struct WaitForMilliseconds | |
{ | |
int Milliseconds; |
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.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using UnityEngine; | |
public class ScenePalette : EditorWindow | |
{ | |
private static readonly Dictionary<string, string> _scenesDic = new Dictionary<string, string>(); | |
private static string[] _sceneNames; |
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; | |
public sealed class IKControl : MonoBehaviour | |
{ | |
[SerializeField] | |
private Animator _animator; | |
[SerializeField] | |
private bool _isIKActive = false; |
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; | |
public class LightCollider : MonoBehaviour | |
{ | |
private LightIndex _lightIndex; | |
[SerializeField] | |
private CapsuleCollider _collider; | |
private void OnTriggerStay(Collider other) |
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; | |
public class LightCollider : MonoBehaviour | |
{ | |
private LightIndex _lightIndex; | |
[SerializeField] | |
private CapsuleCollider _collider; | |
private void OnTriggerStay(Collider other) |
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; | |
public class LightIndex : MonoBehaviour | |
{ | |
[SerializeField] | |
private Transform[] _transformsToCheck; | |
public Transform[] TransformsToCheck => _transformsToCheck; | |
public float Current { private set; get; } = 0f; |
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 System.Collections; | |
using System.Collections.Generic; | |
using System; | |
public sealed class DialogueImplementation : MonoBehaviour | |
{ | |
private int _currentOption; | |
[SerializeField] | |
private Dialogue _dialogue; |