public override void Reset(SerializedPlanarReflectionProbe data, UnityAction repaint)
 {
     reflectionProxyVolume.Reset(data.reflectionProxyVolume, repaint);
     frameSettings.Reset(data.frameSettings, repaint);
     influenceVolume.Reset(data.influenceVolume, repaint);
     base.Reset(data, repaint);
 }
예제 #2
0
        void OnEnable()
        {
            m_TypedTargets   = targets.Cast <ReflectionProxyVolumeComponent>().ToArray();
            m_SerializedData = new SerializedReflectionProxyVolumeComponent(serializedObject);

            m_UIState.Reset(m_SerializedData, Repaint);

            m_UIHandlerState = new ReflectionProxyVolumeComponentUI[m_TypedTargets.Length];
            for (var i = 0; i < m_UIHandlerState.Length; i++)
            {
                m_UIHandlerState[i] = new ReflectionProxyVolumeComponentUI();
            }
        }