예제 #1
0
 void OnPanelUpdate(DanbiUIPanelControl control)
 {
     // TODO: Update the step angle.
     // if (control is DanbiUIInteractionSwipeToLeftPanelControl)
     // {
     //     var swipeControl = control as DanbiUIInteractionSwipeToLeftPanelControl;
     //     //
     // }
 }
예제 #2
0
        void OnPanelUpdated(DanbiUIPanelControl control)
        {
            // if (control is DanbiUIPanoramaScreenDimensionPanel)
            // {
            //     var dimensionPanel = control as DanbiUIPanoramaScreenDimensionPanel;

            //     radius = dimensionPanel.m_cylinder.m_radius;
            //     m_cylinderShape.high = dimensionPanel.m_cylinder.m_ch;
            //     m_cylinderShape.low = dimensionPanel.m_cylinder.m_cl;

            //     OnShapeChanged();
            // }

            // if (control is DanbiUIPanoramaScreenOpticalPanelControl)
            // {
            //     var opticalPanel = control as DanbiUIPanoramaScreenOpticalPanelControl;

            //     m_cylinderShape.specular = new Vector3(opticalPanel.Cylinder.specularR, opticalPanel.Cylinder.specularG, opticalPanel.Cylinder.specularB);
            //     m_cylinderShape.emission = new Vector3(opticalPanel.Cylinder.emissionR, opticalPanel.Cylinder.emissionG, opticalPanel.Cylinder.emissionB);
            // }
        }
예제 #3
0
 public static void InvokeOnPanelUpdate(DanbiUIPanelControl control)
 {
     onPanelUpdate?.Invoke(control);
 }
예제 #4
0
 void OnPanelUpdate(Danbi.DanbiUIPanelControl control)
 {
 }