2023-06-03から1日間の記事一覧
==、GameObject.CompareTagの速度比較をしたので結果を残しておきます。 [ 環境 ] Unity 2018.4.14.f1 [ 比較結果 ] == 340 ms GameObject.CompareTag 99 ms [ スクリプト ] using System.Collections; using System.Collections.Generic; using UnityEngine…
string.Contains、string.StartsWith、string.IndexOfの速度比較をしたので結果を残しておきます。 [ 環境 ] Unity 2018.4.14.f1 [ 比較結果 ] string.Contains 94 ms string.StartsWith 925 ms string.IndexOf 232 ms [ スクリプト ] using System.Collecti…