Created
July 5, 2018 15:34
-
-
Save todorok1/014e4b1f2ecc613bb87e10270e932d6d 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 { | |
public string playerName = "roto"; | |
[Space(20)] | |
[Header("-----------------------------")] | |
[Header("デザイナーの四条さん担当")] | |
[Header("-----------------------------")] | |
[Space(20)] | |
public Color characterColor = new Color(); | |
public Color charactersWeaponColor = new Color(); | |
[Space(40)] | |
[Header("-----------------------------")] | |
[Header("バトルプランナーの我那覇さん担当")] | |
[Header("-----------------------------")] | |
[Space(20)] | |
public int level = 41; | |
[Header("HPの設定項目")] | |
public int maxHp = 255; | |
public int hp = 127; | |
[Header("MPの設定項目")] | |
public int maxMp = 108; | |
public int mp = 87; | |
[Header("強さの設定項目")] | |
public int atk = 96; | |
public int def = 43; | |
public int speed = 74; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment