NGUIé¢é£ã§è¨äºã®ããã»ã©ãããªããã©ãã¾ã¨ãã¦ããããã¢ããè¤æ°åæããæãã®è¨äºã§ãã Tipsã¿ãããªãã®ãªã®ã§ããããã«é¢ä¿ã¯ããã¾ããã UISpriteã®è²å¤ã //SpriteãUISprite(Script) Sprite.color = new Color(r, g, b, alpha); Inspectorã§ããã¨ããã®ãUISprite(Script)ã®Widgetã§Colorãè¨å®ããã®ã¨åãã¯ãã UIButtonã®å¦çåã åãé¢æ°ã§ãæ¼ããããã¿ã³æ¯ã«å¦çãå¤ãããæãããã¨æãã¾ãã ããè¨ãã¨ãã¯ã以ä¸ã®ããã«ãã¦ãã¿ã³ã®ååãåå¾ãå¦çãå¤ãããã¾ãã //OnTapãæ¼ãããæã«å¼ã°ããé¢æ° public void OnTap () { Debug.Log (UIButton.current.name); //ä¾ãã°ãã¿ã³ã¨åãååã®ã·ã¼ã³ã«ç§»åãã
{{#tags}}- {{label}}
{{/tags}}