public override void Initialize() { // Set to true by default, let subclasses enable/disable. UsingTracking = true; m_needsSetAnchor = true; m_objStates = new Dictionary<LocationARWorldObject, TrackedWorldObjectState>(); if (!CameraGyro) { CameraGyro = WorldCamera.GetComponent<CameraGyroscope>(); } base.Initialize(); EnableTracking(); }