void OnDisable() { PathTracingMaster.UnregisterObject(this); }
void OnEnable() { PathTracingMaster.RegisterObject(this); }