|
|
|
|
|
|
SerializedObject m_AdditionalDataSerializedObject; |
|
|
|
UIState m_UIState = new UIState(); |
|
|
|
|
|
|
|
int m_PositionHash = 0; |
|
|
|
|
|
|
|
public bool sceneViewEditing |
|
|
|
{ |
|
|
|
get { return IsReflectionProbeEditMode(EditMode.editMode) && EditMode.IsOwner(this); } |
|
|
|
|
|
|
s_ReflectionProbeEditors[p] = this; |
|
|
|
} |
|
|
|
|
|
|
|
for (var i = 0; i < targets.Length; ++i) |
|
|
|
{ |
|
|
|
var p = (ReflectionProbe)targets[i]; |
|
|
|
var a = additionalData[i]; |
|
|
|
InitializeProbe(p, a); |
|
|
|
ChangeVisibility(p, true); |
|
|
|
} |
|
|
|
InitializeAllTargetProbes(); |
|
|
|
ChangeVisibilityOfAllTargets(true); |
|
|
|
for (var i = 0; i < targets.Length; ++i) |
|
|
|
{ |
|
|
|
var p = (ReflectionProbe)targets[i]; |
|
|
|
ChangeVisibility(p, false); |
|
|
|
} |
|
|
|
ChangeVisibilityOfAllTargets(false); |
|
|
|
} |
|
|
|
|
|
|
|
public override void OnInspectorGUI() |
|
|
|
|
|
|
k_InfluenceVolumeSection.Draw(s, p, this); |
|
|
|
k_SeparateProjectionVolumeSection.Draw(s, p, this); |
|
|
|
k_CaptureSection.Draw(s, p, this); |
|
|
|
//k_AdditionalSection.Draw(s, p, this);
|
|
|
|
k_AdditionalSection.Draw(s, p, this); |
|
|
|
k_BakingActions.Draw(s, p, this); |
|
|
|
|
|
|
|
PerformOperations(s, p, this); |
|
|
|