GMU:Digital Puppetry Lab/Group Ben & Luca: Difference between revisions

From Medien Wiki
Line 105: Line 105:


====Step 1: Declaring private/public variables====
====Step 1: Declaring private/public variables====
Our main task was to animat the "Stage" where the party takes place. The "gameReciever" is our Dance Floor which will be fetched from our script and get's ghis position translated afterwards. We also created variable for our screen overlay, one for the Y position of our cube and another one for the text which will be shown when no input comes in. In the Start function we inserted one line which will find the display variable and the GameObject "Canvas" on startup to avoid the text and the canvas from disapearing.


[[File:unity6.png|thumb]]
[[File:unity6.png|thumb]]
[[File:unity7.png|thumb]]
[[File:unity7.png|thumb]]