SCToggleCheckbox3D.cs 406 B

12345678910111213141516171819
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEditor;
  4. using UnityEngine;
  5. namespace SC.XR.Unity
  6. {
  7. public class SCToggleCheckbox3D : SCToggleBase
  8. {
  9. public GameObject m_CheckObject;
  10. protected override void PlayEffect()
  11. {
  12. if (m_CheckObject == null)
  13. return;
  14. m_CheckObject.SetActive(m_IsOn);
  15. }
  16. }
  17. }