以下の内容はhttps://baba-s.hatenablog.com/entry/2018/08/16/231400より取得しました。


【Unity】【Odin Inspector 2.0 新機能】変数、プロパティ、関数の前後にスペースを表示できる「PropertySpace」

アセット

概要

using Sirenix.OdinInspector;
using UnityEngine;

public class Example : MonoBehaviour
{
    [Space]
    public int MyField;

    [ShowInInspector, PropertySpace( 16 )]
    public int MyProperty1 { get; set; }

    [ShowInInspector, PropertySpace( 16, 16 )]
    public int MyProperty2 { get; set; }

    [Button, PropertySpace( 32 )]
    public void MyMethod() { }

    [PropertySpace( -8 )]
    public int MovedUp;
}

f:id:baba_s:20180814161000p:plain

「PropertySpace」属性を使用することで
変数、プロパティ、関数の前後にスペースを表示できます

参考サイト様




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

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