Asset Store
å ¬å¼ããã¥ã¡ã³ã(è±èª)
http://www.magicnreal.com/psd2ngui
ã¡ãã¥ã¼ã«ã¤ãã¦
- Unityã¨ãã£ã¿ä¸ã§è¨å®ã§ããé ç®
ACTION
é ç® | 説æ |
---|---|
Load | è¨å®ã®èªã¿è¾¼ã¿ |
Save | è¨å®ã®ä¿å |
Delete | è¨å®ã®åé¤ |
New | è¨å®ã®ä½æ |
Run | NGUIã¸å¤æ |
SETTING
é ç® | 説æ |
---|---|
Root | Rootã®è¨å®(UIRootãã¤ãã¦ãããªãã¸ã§ã¯ãã®ã¿é¸æå¯è½) |
Camera | NGUIã®ã«ã¡ã©ã¿ã¤ãã®è¨å® |
Font Type | ãã©ã³ãã¿ã¤ãã®è¨å® |
Use One Atlas | 1ã¤ã®ã¢ãã©ã¹ã使ç¨ãã |
Keep Old Sprites | å¤æ´åã®ã¹ãã©ã¤ããæ®ã |
Create Controls | NGUIãä½æ(ãã§ãã¯ãå¤ããå ´åã¯ã¢ãã©ã¹ã¨ãã©ã³ãã®ã¿ä½æ) |
Update when files modified | ä¸æ |
Remove All | PSD FILESã®å ¨è¦ç´ ãåé¤ãã |
Add Font All | PSD FILESã®å ¨è¦ç´ ã®Add Fontã«ãã§ãã¯ãå ¥ãã |
Add Font None | PSD FILESã®å ¨è¦ç´ ã®Add Fontã®ãã§ãã¯ãå¤ã |
- Add Font Allã¨Add Font Noneã¯Use One Atlasã®ãã§ãã¯ãå¤ãã
True Type Fontãè¨å®ããã¨è¡¨ç¤ºããã¾ã
PSD FILES
é ç® | 説æ |
---|---|
Remove | è¦ç´ ãåé¤ãã |
Layer Script Count | ã¹ã¯ãªããã追å ãããã¬ã¤ã¤ã¼ã®æ° |
Count | 追å ããã¹ã¯ãªããã®æ° |
Item | 追å ããã¹ã¯ãªãããè¨å® |
ã³ãã³ãã«ã¤ãã¦
ã³ãã³ãã®æå®æ¹æ³
- ã³ãã³ãã®æå®æ¹æ³ã¯3ãã¿ã¼ã³
- PSDãã¡ã¤ã«ã®ã¬ã¤ã¤ã¼ã«æå®ãã
- ããã¹ãã¬ã¤ã¤ã¼ã«æå®ãã
- ã°ã«ã¼ã(ãã©ã«ã)ã«æå®ãã
- ã³ãã³ãã«ãã£ã¦ã¯è¿½å ã³ãã³ãããããç´°ããæå®ã¾ã§ã§ãã
ã³ãã³ã | 説æ |
---|---|
layerName@command | ã¬ã¤ã¤ã¼ã«æå® |
textLayer@command | ããã¹ãã¬ã¤ã¤ã¼ã«æå® |
groupName@command | ã°ã«ã¼ãã«æå® |
ã³ãã³ãã®ç¨®é¡
ã¹ãã©ã¤ã
- ã³ãã³ããæå®ããªãã£ãå ´åã¯UISpriteã¨ãã¦ä½æããã
- ä¾) layerName
ã¹ã©ã¤ã¹
- æ£æ¹å½¢ã®ç«¯ãã¹ã©ã¤ã¹ãã
- åºæ¬ã³ãã³ã
- @slice=(LeftTop)x(RightTop)x(LeftBottom)x(RightBottom)
- ä¾) layerName@slice=2x2x2x2
- @slice=(LeftTop)x(RightTop)x(LeftBottom)x(RightBottom)
ããã«
- PSDãã¡ã¤ã«ã®ã°ã«ã¼ã(ãã©ã«ã)ã«è¨å®ããå¿ è¦ããã
- åºæ¬ã³ãã³ã
- @panel
- ä¾) groupName@panel
- @panel
ã©ãã«
- åºæ¬ã³ãã³ã
- @label
- ä¾) groupName@label
- @label
- 追å ã³ãã³ã
- @color=black, @color=ff00ff : è²ã®è¨å®
- @bold=true : 太å
- @shadow=true : ãã©ã³ãã®å½±
- @text=Hello : 表示ããããã¹ã
- @align=[topleft, top, topright, left, center, right, bottomleft, bottom, bottomright] : ããã¹ãã®æ´å
- @fontsize=14 : ãã©ã³ããµã¤ãº
- ä¾) sameLayerName@label@subCommand
ãã¿ã³
- åºæ¬ã³ãã³ã
- @button
- ä¾) layerName@button
- @button
- 追å ã³ãã³ã
- @button.normal : é常ã®æã®ã¤ã¡ã¼ã¸
- @button.hover : ãã¦ã¹ãéãªã£ãæã®ã¤ã¡ã¼ã¸
- @button.pressed : ã¯ãªãã¯ããã¨ãã®ã¤ã¡ã¼ã¸
- @button.label : ã©ãã«
ã©ãã«ãã¿ã³
- ããã¹ãã©ãã«ããã¿ã³ã¨ãã¦ä½æãã
- ãã ãããã¿ã³ã®ç¶æ ã«ãã£ã¦ã©ãã«ãå¤ãããã¨ã¯ã§ããªã
- åºæ¬ã³ãã³ã
- @button
- ä¾) textLayer@button
- @button
ãã°ã«(ãã§ãã¯ããã¯ã¹)
- åºæ¬ã³ãã³ã
- @toogle
- ä¾) layerName@toggle
- @checkbox
- ä¾) layerName@checkbox
- ã©ã¡ãã®æ¸ãæ¹ã§ãå¯è½
- @toogle
- 追å ã³ãã³ã
- @toggle(checkbox).normal: é常ã®æã®ã¤ã¡ã¼ã¸
- @toggle(checkbox).checked : ãã§ãã¯ãããæã®ã¤ã¡ã¼ã¸
- @toggle(checkbox).label : ã©ãã«
- ä¾)layerName@toggle(checkbox).normal
ã¤ã³ããã(ã¨ãã£ããããã¯ã¹)
- åºæ¬ã³ãã³ã
- @input
- ä¾) layerName@input
- @editbox
- ä¾) layerName@editbox
- ã©ã¡ãã®æ¸ãæ¹ã§ãå¯è½
- @input
ãã¹ã¯ã¼ã
- ã¤ã³ããã(ã¨ãã£ããããã¯ã¹)ã«ãã¹ã¯ã¼ãã®ãªãã·ã§ã³ãè¨å®ããã¦ããç¶æ ã§ä½æããã
- åºæ¬ã³ãã³ã
- @password
- ä¾) layerName@password
- @password
ã³ã³ãããã¯ã¹
- åºæ¬ã³ãã³ã
- @combobox
- ä¾) layerName@combobox
- @combobox
- 追å ã³ãã³ã
- combobox.bar : ã¢ã¤ãã ãé¸æããæã®ã¤ã¡ã¼ã¸
- combobox.listbg : ãªã¹ãã®èæ¯
- combobox.bg : èæ¯
- combobox.label : ã©ãã«
ã¹ã©ã¤ãã¼
- åºæ¬ã³ãã³ã
- @hslider
- æ°´å¹³ãªã¹ã©ã¤ãã¼ã¨ãã¦ä½æ
- ä¾) layerName@hslider
- @vslider
- åç´ãªã¹ã©ã¤ãã¼ã¨ãã¦ä½æ
- ä¾) layerName@vslider
- @hslider
- 追å ã³ãã³ã
- h(v)slider.fg : åæ¯
- h(v)slider.bg : èæ¯
- ä¾)layerName@h(v)slider.fg
ããã°ã¬ã¹ãã¼
- åºæ¬ã³ãã³ã
- @hprogressbar
- æ°´å¹³ãªããã°ã¬ã¹ãã¼ã¨ãã¦ä½æ
- ä¾) layerName@hprogressbar
- @vprogressbar
- åç´ãªããã°ã¬ã¹ãã¼ã¨ãã¦ä½æ
- ä¾) layerName@vprogressbar
- @hprogressbar
- 追å ã³ãã³ã
- h(v)progressbar.fg : åæ¯
- h(v)progressbar.bg : èæ¯
- ä¾)layerName@h(v)progressbar.fg
ã¹ã¯ãã¼ã«ãã¼
- åºæ¬ã³ãã³ã
- @hscrollbar
- æ°´å¹³ãªã¹ã¯ãã¼ã«ãã¼ã¨ãã¦ä½æ
- ä¾) layerName@hscrollbar
- @vscrollbar
- åç´ãªã¹ã¯ãã¼ã«ãã¼ã¨ãã¦ä½æ
- ä¾) layerName@vscrollbar
- @hscrollbar
- 追å ã³ãã³ã
- h(v)scrollbar.fg : åæ¯
- h(v)scrollbar.bg : èæ¯
- ä¾)layerName@h(v)scrollbar.fg
ã¹ã¯ãã¼ã«ãã¥ã¼
- åºæ¬ã³ãã³ã
- @scrollview
- ãã©ãã°å¯è½ãªããã«ã¨ã³ã³ãã³ããä½æãã
- ä¾) layerName@scrollview
- @scrollview
- 追å ã³ãã³ã
- scrollview.bg : èæ¯
- scrollview.item : ã³ã³ãã³ã
- ä¾) [email protected]
ãã¼ãã£ã«ãã¥ã¼
- åºæ¬ã³ãã³ã
- @virtualview
- ã¹ã¯ãã¼ã«ãã¥ã¼ã¨ã®éãã¯UIã¨ãã¼ã¿ãåé¢ããã¦ãããã¨
- ä¾) layerName@virtualview
- @virtualview
- 追å ã³ãã³ã
- virtualview.bg : èæ¯
- virtualview.item : ã³ã³ãã³ã
- ä¾) [email protected]
ã¹ãã©ã¤ããã©ã³ã
- åºæ¬ã³ãã³ã
- @spritefont
- ä¾) groupName@spritefont
- @spritefont
ã¢ãã¡ã¼ã·ã§ã³
- åºæ¬ã³ãã³ã
- @animation@fps=30, @ani@fps=15
- ã·ã³ãã«ãªã¢ãã¡ã¼ã·ã§ã³ãä½æãã
- ä¾) groupName@animation@fps=30
- @animation@fps=30, @ani@fps=15
ã³ã©ã¤ãã¼
- åºæ¬ã³ãã³ã
- @collider=box
- ããã¯ã¹ã³ã©ã¤ãã¼ãä½æãã
- ã©ãã«ãã¹ãã©ã¤ãã®ã¿ã«ã¤ãããã¨ãå¯è½
- ä¾) layerName@collider=box
- @collider=box
ã¹ã¯ãªãã
- åºæ¬ã³ãã³ã
- @script
- PSD2NGUIã§ç¨æããã¦ãããPsdLayerUserScriptãã追å
- PSDãã¡ã¤ã«å ã®ããã¹ãã¬ã¤ã¤ã¼ã®æåãåå¾ã§ãã
- ä¾) layerName@script
- @script
ã¤ã°ãã¢
- åºæ¬ã³ãã³ã
- @ignore
- ãã®ã³ãã³ããè¨å®ããã¦ããã¬ã¤ã¤ã¼ã¯ç¡è¦ããã
- ä¾) layerName@ignore
- @ignore