March 2018
Beginner
274 pages
6h 1m
English
We are almost done; the last thing we need to do is let the Wrld Map script pull the last camera's position from our singleton SceneController. This means that we unfortunately have to modify the source of the Wrld Map script. Generally, we want to avoid modifying a third-party API, except that we have the source, and it really is our only option. Open up the WrldMap script, located in the Assets/Wrld/API folder, and follow along:
using Wrld.Scripts.Utilities; //after meusing Packt.HoloCore;#if UNITY_EDITOR //before me
config.Collisions.BuildingCollision = m_buildingCollisions; ...
Read now
Unlock full access