Answers for "unity add empty line to in inspector"

C#
0

unity add empty line to in inspector

using UnityEngine;

public class Example : MonoBehaviour
{
    int health = 0;
    int maxHealth = 100;    
  	[Space(10)] // 10 pixels of spacing here.    
  	int shield = 10;
    int maxShield = 10;
}
Posted by: Guest on October-03-2020

Code answers related to "unity add empty line to in inspector"

C# Answers by Framework

Browse Popular Code Answers by Language