参考サイト様
概要 NPOI.HPSF.Array Auto Import に上記の文字列を追加する
概要 Debug.Log( element.layout.position );
ソースコード using UnityEngine; using UnityEngine.UIElements; namespace Kogane { public static class VisualElementExtensionMethods { public static Vector2 GetPosition( this VisualElement self ) { var element = self; var position = Vector2.…
概要 UnityEditor.Compilation.Assembly Auto Import に上記の文字列を追加する
概要 UnityEditor.VersionControl.Task Auto Import に上記の文字列を追加する
概要 Mono.CompilerServices.SymbolWriter.CodeBlockEntry* Auto Import に上記の文字列を追加する
概要 var assembly = typeof( SceneTemplateAsset ).Assembly; var type = assembly.GetType( "UnityEditor.SceneTemplate.SceneTemplateAssetInspectorWindow" ); var rebuildDependenciesMethodInfo = type.GetMethod( "RebuildDependencies", BindingFlag…
概要 DG.Tweening.Plugins.Core.PathCore* Auto Import に上記の文字列を追加する
概要 System.Diagnostics.CodeAnalysis.NotNullAttribute Auto Import に上記の文字列を追加する
ソースコード [SourceTemplate] public static void isnullorwhitespace( this string self ) { /*$ string.IsNullOrWhiteSpace( str ) */ }
ソースコード [SourceTemplate] public static void isnullorempty( this string self ) { /*$ string.IsNullOrEmpty( str ) */ }
概要 public static void DestroyGameObjectAll<T>( this T[] self ) where T : Component { if ( self is not { Length: > 0 } ) return; for ( var i = 0; i < self.Length; i++ ) { var component = self[ i ]; Object.Destroy( component.gameObject ); sel</t>…
概要 public static T[] Instantiates<T> ( T original, Transform parent, int count ) where T : Component { var array = new T[ count ]; original.gameObject.SetActive( true ); for ( var i = 0; i < count; i++ ) { var clone = Object.Instantiate( or</t>…
ソースコード using DG.Tweening; using DG.Tweening.Core; using DG.Tweening.Plugins.Options; using UnityEngine; namespace Kogane { public static class DOTweenRotateExtensionMethods { public static TweenerCore<Quaternion, Vector3, QuaternionOptions> DORotateX ( this Transform self,</quaternion,>…