以下の内容はhttps://baba-s.hatenablog.com/entry/2017/12/28/150100より取得しました。


【Unity】Inspector の項目をハイライト表示する PropertyAttribute「HighlightAttribute」紹介

はじめに

https://gist.github.com/LotteMakesStuff/2d3c6dc7a913ed118601db95735574de

「HighlightAttribute」は Inspector の項目をハイライト表示する PropertyAttribute です

使用例

using UnityEngine;

public class Example : MonoBehaviour
{
    [Highlight( HighlightColor.Red )] public int id;
    [Highlight( HighlightColor.Yellow )] public string name;
}

f:id:baba_s:20171228120459p:plain

関連記事




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

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