|
|
|
|
|
|
m_Components.Add(type, inst); |
|
|
|
|
|
|
|
inst = (VolumeComponent)ScriptableObject.CreateInstance(type); |
|
|
|
inst.SetAllOverridesTo(true); |
|
|
|
m_ComponentsDefaultState.Add(inst); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < count; i++) |
|
|
|
{ |
|
|
|
var fromParam = target.parameters[i]; |
|
|
|
|
|
|
|
// Keep track of the override state for debugging purpose
|
|
|
|
fromParam.overrideState = toParam.overrideState; |
|
|
|
|
|
|
|
{ |
|
|
|
var fromParam = target.parameters[i]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|