I hereby claim:
- I am mrcarriere on github.
- I am mcarriere (https://keybase.io/mcarriere) on keybase.
- I have a public key ASBaVQcXV4Fj98vSIyYaLpyVN2cjosgK6H_77WTpDyQRDQo
To claim this, I am signing this object:
using UnityEditor; | |
[InitializeOnLoad] | |
public class StopPlayingOnRecompile | |
{ | |
static StopPlayingOnRecompile() | |
{ | |
AssemblyReloadEvents.beforeAssemblyReload += () => | |
{ | |
if (EditorApplication.isPlaying) |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
// docs: https://docs.unity3d.com/ScriptReference/AssetModificationProcessor.OnWillSaveAssets.html | |
public class BuildSceneProcessor : UnityEditor.AssetModificationProcessor | |
{ | |
private const string DIALOG_TITLE = "Add to Build Settings?"; | |
private const string DIALOG_MSG = "Add to build settings for inclusion in future builds?"; |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
[InitializeOnLoad] | |
public class SaveSceneOnPlay | |
{ | |
static SaveSceneOnPlay() | |
{ | |
EditorApplication.playmodeStateChanged += () => |
using System; | |
using System.Reflection; | |
using UnityEditor; | |
namespace Zapdot | |
{ | |
public static class ConsoleTools | |
{ | |
public static void ClearLog() | |
{ |
I hereby claim:
To claim this, I am signing this object:
using UnityEngine; | |
public class Singleton<T> : MonoBehaviour | |
where T : Component | |
{ | |
private static bool _applicationIsQuitting = false; | |
private static T _instance = null; | |
public static T instance | |
{ |
using UnityEngine; | |
public class SceneSingleton<T> : MonoBehaviour | |
where T : Component | |
{ | |
private static bool _applicationIsQuitting = false; | |
private static T _instance = null; | |
public static T instance | |
{ |
{ | |
"friendlyName": "Apple iPhone 14 Pro Max", | |
"version": 1, | |
"screens": [ | |
{ | |
"width": 1290, | |
"height": 2796, | |
"navigationBarHeight": 0, | |
"dpi": 460.0, | |
"orientations": [ |