void OnPanelUpdate(DanbiUIPanelControl control) { // TODO: Update the step angle. // if (control is DanbiUIInteractionSwipeToLeftPanelControl) // { // var swipeControl = control as DanbiUIInteractionSwipeToLeftPanelControl; // // // } }
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); // } }
public static void InvokeOnPanelUpdate(DanbiUIPanelControl control) { onPanelUpdate?.Invoke(control); }
void OnPanelUpdate(Danbi.DanbiUIPanelControl control) { }