Version: 5.6

SpaceAttribute

class in UnityEngine

/

継承:PropertyAttribute

マニュアルに切り替える

説明

インスペクターにスペースを追加するにはこの DecoratorDrawer を使用してください。

スペースは DecoratorDrawer を使用して追加します。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public int health = 0; public int maxHealth = 100; [Space(10)] public int shield = 0; public int maxShield = 0; }

変数

heightピクセル単位のスペース

コンストラクタ

SpaceAttributeインスペクターにスペースを追加するにはこの DecoratorDrawer を使用してください。

継承メンバー

変数

order複数の DecorationDrawer がある場合に描画する順番を指定するフィールド