public void Deregister()
        {
            DS_HazeCore core = DS_HazeCore.Instance;

            if (core != null)
            {
                core.RemoveLightVolume(this);
            }
        }
Example #2
0
        public void Deregister()
        {
            DS_HazeCore instance = DS_HazeCore.Instance;

            if (!Object.op_Inequality((Object)instance, (Object)null))
            {
                return;
            }
            instance.RemoveLightVolume(this);
        }