ï¼ï¼ã¯ããã« Unityã®ãµã³ãã«ã³ã¼ãçãè¦ã¦ããã¨ãå¤æ°ã®å®ç¾©é¨åã«[SerializeField]ã¨æ¸ããã¦ãããã¨ãããã¾ãã // ä¾ãã°ãããªæã [SerializeField] int num; ã©ããããããè¨è¿°ããã¨Inspectorããå¤æ°ã«ã¢ã¯ã»ã¹ã§ããããã«ãªãããã ãã¨ãããã¨ã¯ããããã®ã®ããã®æå³ãpublicã¨ã®éãã¯ããããªãâ¦ã¨ããæ¹ãããã£ãããã®ã§ã¯ãªãã§ããããã ããããçåã«çããã¹ããæ¬è¨äºã§ã¯ã[SerializeField]ã®ç解ã®å
ã¨ãªãã·ãªã¢ã©ã¤ãºãããã³publicã¨ã®ä½¿ãåãã«ã¤ãã¦è§£èª¬ãã¦ããã¾ãã é »åºã®æ©è½ã§ãã®ã§ãæ¯é使ãããªããããã«ãªãã¾ãããï¼ ï¼ï¼ã·ãªã¢ã©ã¤ãºã¨ã¯ [SerializeField] ã«ã¤ãã¦ç解ããããã«ã¯ãã·ãªã¢ã©ã¤ãºã¨ããç¨èªã«ã¤ãã¦ç解ããå¿
è¦ãããã¾ãã C#ã«ãããã·ãªã¢ã©ã¤ãºã¨ã¯ããªã
{{#tags}}- {{label}}
{{/tags}}