chooseItem.cs 278 B

12345678910111213141516
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class chooseItem : MonoBehaviour
  5. {
  6. public int idx;
  7. public GameManager gm;
  8. public void checkItem(bool b)
  9. {
  10. if(b)
  11. {
  12. gm.showW(idx);
  13. }
  14. }
  15. }