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 UnityEditor; | |
using UnityEditor.Localization; | |
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using UnityEngine; | |
using UnityEngine.Localization; | |
using UnityEngine.Localization.Settings; |
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
#if UNITY_STANDALONE || UNITY_EDITOR // Code specific to PC platforms (Windows, macOS, Linux) | |
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.InputSystem; | |
using UnityEngine.InputSystem.UI; | |
using UnityEngine.Events; | |
public class SpringJointDrag2D_Mouse : MonoBehaviour | |
{ | |
/* Fallback SpringJoint2D config */ |
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 UnityEditor; | |
using UnityEngine; | |
public class OrthographicCamFitterWindow : EditorWindow | |
{ | |
int _ReferenceHeight = 1080; | |
int _PixelsPerUnit = 100; | |
Camera _Camera; | |
string _IntroText = "<size=14><b>Notes</b></size>\n" + |
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 abstract class Singleton<T> : MonoBehaviour where T : MonoBehaviour | |
{ | |
public static T Instance { get; private set; } | |
protected virtual void Awake() | |
{ | |
CheckSingleton(); | |
} |