December 2018
Intermediate to advanced
416 pages
10h 30m
English
We've now come to the last part of the iOS-specific code, which is where we initialize ARKit. This method is called InitializeAR(), and takes no parameters. It is the same as the method for Android, but since they are never compiled simultaneously because of the use of conditional compiling, the code calling this method will not know the difference.
The code to initialize ARKit is straightforward, and the ARKitComponent does a lot of work for us. Let's set it up by going through the following steps:
private void InitializeAR(){ arkitComponent = scene.CreateComponent<ARKitComponent>(); ...Read now
Unlock full access