Skip to content

Instantly share code, notes, and snippets.

View Abbabon's full-sized avatar
🥔
Potato

Amit Netanel Abbabon

🥔
Potato
View GitHub Profile
@Abbabon
Abbabon / SceneInspectorWindow.cs
Last active September 27, 2023 06:26
Scene Inspector Window
#if UNITY_EDITOR
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
// Drop this in your project; Since this uses UnityEditor, make sure to place it under an Editor directory.
namespace Game.Editor.SceneInspectorTool
@Abbabon
Abbabon / TimescaleController.cs
Last active May 5, 2023 06:11
TimescaleController
using System.Collections.Generic;
using UnityEngine;
// Drop this in your scene for easy time slowdown.
// Make time go faster when cliclking right arrow, slower when clicking the left arrow, and pause (and unpause) when clicking on Z.
// If *4 is not fast enough, you can add it to the list.
public class TimeScaleController : MonoBehaviour
{
[SerializeField] private bool _enabled;
@Abbabon
Abbabon / SceneNavigationEditorWindow.cs
Last active January 24, 2021 18:57
SceneNavigationEditorWindow
using System;
using System.Collections.Generic;
using System.Linq;
using Game.Core.Scripts.GameTypes;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;