Skip to content

Instantly share code, notes, and snippets.

View Seneral's full-sized avatar

Seneral Seneral

View GitHub Profile
@Seneral
Seneral / EditorLoadingControl.cs
Last active November 21, 2018 20:29
Extended editor callbacks for entering/leaving playmode and new scenes in Unity
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
#if UNITY_5_3_OR_NEWER || UNITY_5_3
using UnityEngine.SceneManagement;
using UnityEditor.SceneManagement;
#endif
using System;