2022-08-30から1日間の記事一覧
概要 using UnityEngine; public class Example : MonoBehaviour { private void OnDestroy() { new GameObject(); } } using UnityEngine; public class Example : MonoBehaviour { public GameObject m_prefab; private void OnDestroy() { Instantiate( m…
概要 using JetBrains.Annotations; using UnityEngine; using UnityEngine.EventSystems; namespace Kogane { public sealed class CustomStandaloneInputModule : StandaloneInputModule { [CanBeNull] public GameObject GetLastPointerGameObject() { re…
概要 Line Renderer が使用しているマテリアルの Shader を 「Sprites/Default」にしたら描画順が設定できるようになった
はじめに 「Inspection Lens」を Rider に導入することで エラーや警告の内容がコード行に表示されるようになります 導入前 導入後