MouseDrag5.cs 378 B

1234567891011121314151617181920
  1. using UnityEngine;
  2. public class MouseDrag5 : MonoBehaviour
  3. {
  4. public int ido;
  5. public bool isClick;
  6. public Maid maid = null;
  7. public int no;
  8. public GameObject obj;
  9. public void OnMouseDown()
  10. {
  11. if (!(maid != null))
  12. return;
  13. if (ido == 1)
  14. isClick = true;
  15. if (ido == 2)
  16. isClick = true;
  17. }
  18. }