public void Deregister() { DS_HazeCore core = DS_HazeCore.Instance; if (core != null) { core.RemoveLightVolume(this); } }
public void Deregister() { DS_HazeCore instance = DS_HazeCore.Instance; if (!Object.op_Inequality((Object)instance, (Object)null)) { return; } instance.RemoveLightVolume(this); }