Skip to content

Instantly share code, notes, and snippets.

View YN-Studio's full-sized avatar

Y.N YN-Studio

View GitHub Profile
@YN-Studio
YN-Studio / MeasureToolEditor.cs
Created October 14, 2023 03:10
基于Odin Inspector的Unity2D测量工具。Unity2D measure tool using Odin Inspector
using System.Collections.Generic;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEngine;
/// <summary>
/// 地编中使用的测量工具(2D)
/// </summary>
public class MeasureToolEditor : OdinEditorWindow
@YN-Studio
YN-Studio / LevelManagementEditor.cs
Last active May 4, 2023 18:52
A custom editor window for quickly open pre-defined scene assets
using System.Collections.Generic;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEngine;
using Sirenix.OdinInspector;
using Sirenix.Utilities.Editor;
using UnityEditor.SceneManagement;
public class LevelManagementEditor : OdinMenuEditorWindow