private void UpdateModelRenderer(bool value) { bool isAvailable = m_Status.IsGloveAvailable(HandType); /*if(!isAvailable) * { * Hi5_Log.Log("isAvailable dnot"); * }*/ m_Renderer.gameObject.SetActive(value); if (mHumanButtons != null) { mHumanButtons.setVisible(value); } }
private void UpdateModelRenderer(bool value) { bool isAvailable = m_Status.IsGloveAvailable(HandType); if (isVisible) { m_Renderer.gameObject.SetActive(value); } else { m_Renderer.gameObject.SetActive(false); } if (mHumanButtons != null) { mHumanButtons.setVisible(value); } }