示例#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))
                {
                    isLoaded = true;
                    Debug.Log("[OD] Enabling Body " + base.sphere.name + ": " + isLoaded);
                }
            }