December 2018
Intermediate to advanced
416 pages
10h 30m
English
All that's left now is to wire up the event to the Input subsystem of UrhoSharp. This is done by adding a single line of code to the Start() method, as shown in the following steps:
protected override void Start(){ scene = new Scene(Context); var octree = scene.CreateComponent<Octree>(); InitializeCamera(); InitializeLights(); InitializeRenderer(); Input.TouchBegin += OnTouchBegin; InitializeAR();}
This wires up the TouchBegin event to our OnTouchBegin event handler.
If you run the game now, the boxes should animate and disappear when you tap on them. What we need now is some kind of ...
Read now
Unlock full access