123456789101112131415161718 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class VideoToggleItem : MonoBehaviour
- {
- int index;
- private void OnEnable()
- {
- index = this.GetComponentIndex();
- }
- public void choose(bool b)
- {
- if (b)
- ShiPingJianKongManager.Instance.chooseToggle(index);
- }
- }
|