Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active June 12, 2018 07:35
Show Gist options
  • Save todorok1/b647c0107dbefcd44520b88e9d08028b to your computer and use it in GitHub Desktop.
Save todorok1/b647c0107dbefcd44520b88e9d08028b to your computer and use it in GitHub Desktop.
[HideInInspector]とpublicの関係
public class HideInInspectorCheck : MonoBehaviour {
// [HideInInspector]をつけてInspectorで非表示にする
[HideInInspector]
public int level;
// [HideInInspector]をつけないケース
public string characterName;
// イカ、省略
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment