How do I add an android pop screen in Unity3D -


i'm doing android project unity3d now. want pop small screen when touch button on screen image below. how implement this? (my reputation low post picture)

http://i.stack.imgur.com/9solr.png

design popup guilabels , guitextures. create empty gameobject called popup, , place these gameobjects under hierarchy, , disable in inspector.

make new script attached button. in script, create public gameobject variable popup called popup, , create new function called onmousedown().

within function place code

popup.setactive(true);

finally, in inspector, drag , drop disabled gameobejct popup variable of script, , should work want.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -