2022-09-15から1日間の記事一覧
ソースコード using System; using UnityEngine; namespace Kogane { public sealed class GameObjectSetActiveScope : IDisposable { private readonly GameObject m_gameObject; private readonly bool m_oldIsActive; public GameObjectSetActiveScope ( …
概要 using UnityEngine; namespace Kogane.Internal { /// <summary> /// シーン開始時に子オブジェクトをすべて削除するコンポーネント /// </summary> [DefaultExecutionOrder( -1000 )] [DisallowMultipleComponent] internal sealed class AutoDestroyChildrenComponent : …
ソースコード #if UNITY_EDITOR_OSX using System.Reflection; using UnityEditor; using UnityEditor.ShortcutManagement; using UnityEngine; namespace Kogane.Internal { /// <summary> /// Windows のようにショートカットキーを使用できるようにするエディタ拡</summary>…