2020-03-02から1日間の記事一覧
概要 MissingReferenceException: The object of type 'XXXX' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. DOTween を使っているシーンで他のシーン…
検証用スクリプト using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Threading.Tasks; internal static class Program { private static void Main() { var count = 1000000000; var rangePartitioner = Partiti…
概要 using UnityEngine; using UnityEngine.EventSystems; public class Example : MonoBehaviour, IPointerClickHandler { public void OnPointerClick( PointerEventData eventData ) { if ( eventData.button == PointerEventData.InputButton.Right ) {…
ソースコード using JetBrains.Annotations; using System.Collections.Generic; public static class SourceTemplates { [SourceTemplate] [Macro( Target = "index" )] [Macro( Target = "value" )] public static void forArray<T>( this T[] self ) { for (</t>…