Created
July 5, 2018 16:23
-
-
Save todorok1/bfb5e82b4db2d0763dc7a1bc065a4efb to your computer and use it in GitHub Desktop.
SpaceAttributeを使って領域の区切りを分かりやすくする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HeaderCheck : MonoBehaviour { | |
// ヘッダー前のスペース | |
const float PreHeader = 20f; | |
// ヘッダー後のスペース | |
const float PostHeader = 20f; | |
// 領域間のスペース | |
const float InterRegion = 20f; | |
public string playerName = "roto"; | |
[Space(PreHeader)] | |
[Header("-----------------------------")] | |
[Header("デザイナーの四条さん担当")] | |
[Header("-----------------------------")] | |
[Space(PostHeader)] | |
public Color characterColor = new Color(); | |
public Color charactersWeaponColor = new Color(); | |
[Space(InterRegion)] | |
[Space(PreHeader)] | |
[Header("-----------------------------")] | |
[Header("バトルプランナーの我那覇さん担当")] | |
[Header("-----------------------------")] | |
[Space(PostHeader)] | |
public int level = 41; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment