以下の内容はhttps://baba-s.hatenablog.com/entry/2019/03/22/090000より取得しました。


【Unity】Inspector で並べ替え可能なリストを使用できる「Reorderable List」紹介

はじめに

「Reorderable List」を Unity プロジェクトに導入することで
Inspector で並べ替え可能なリストを使用できるようになります

使用例

f:id:baba_s:20190104165631p:plain

使い方

using Malee;
using System;
using UnityEngine;

public class Example : MonoBehaviour
{
    [Serializable]
    public class Vector3List : ReorderableArray<Vector3> { }

    public Vector3List m_list;
}

上記のようなコードを記述することで使用できます




以上の内容はhttps://baba-s.hatenablog.com/entry/2019/03/22/090000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14