예제 #1
0
        // Enabling
        public override void OnQuadPreBuild(PQ quad)
        {
            // It is supposed to be loaded now so clear the unload time
            _unloadTime = 0;

            // Don't update, if the Injector is still running
            if (_isLoaded)
            {
                return;
            }

            // Enable the maps
            if (!OnDemandStorage.EnableBodyPqs(sphere.name))
            {
                return;
            }

            _isLoaded = true;
            Debug.Log("[OD] Enabling Body " + sphere.name + ": " + _isLoaded);
        }