private void HandleOver() { m_SelectionRadial.Show(); m_SelectionRadial.HandleDown(); m_GazeOver = true; gameObject.GetComponent <Renderer>().material = m_OverMaterialReplay; }
private void HandleOver() { if (!isSelected) { m_SelectionRadial.Show(); m_SelectionRadial.HandleDown(); m_GazeOver = true; gameObject.GetComponent <Renderer>().material = m_LevelBtn_Sel; } }
public void OnPointerEnter(PointerEventData eventData) { Debug.Log("OnPointerEnter:"); //记录位置 pEventData = eventData; pEventData.pressPosition = eventData.position; pEventData.pointerPressRaycast = eventData.pointerCurrentRaycast; //显示圈圈 m_SelectionRadial.Show(); m_SelectionRadial.HandleDown(); m_GazeOver = true; }
private void HandleOver() { //if (mpc.m_VideoControl.activeSelf) //{ // gameObject.GetComponent<Renderer>().material = m_OverMaterialPause; //} //else //{ // gameObject.GetComponent<Renderer>().material = m_OverMaterialPlay; //} m_SelectionRadial.Show(); m_SelectionRadial.HandleDown(); m_GazeOver = true; }
private void HandleOver() { m_SelectionRadial.Show(); m_SelectionRadial.HandleDown(); m_GazeOver = true; if (mpc.m_CurrentState == MEDIAPLAYER_STATE.PLAYING) { gameObject.GetComponent <Renderer>().material = m_OverMaterialPause; } else { gameObject.GetComponent <Renderer>().material = m_OverMaterialPlay; } }
private void HandleOver() { m_SelectionRadial.Show(); m_SelectionRadial.HandleDown(); m_GazeOver = true; }