12345678910111213141516 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.EventSystems;
- public class TestUIManage : MonoBehaviour, IPointerEnterHandler
- {
- public TestRotObject rotObject;
- public bool state;
- public void OnPointerEnter(PointerEventData eventData)
- {
- rotObject.RotObject(state);
- }
- }
|