18 lines
327 B
18 lines
327 B
4 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class BagClose : BaseButton {
|
||
|
private Transform bagUI;
|
||
|
private void Start()
|
||
|
{
|
||
|
bagUI = transform.parent.parent;
|
||
|
}
|
||
|
public override void RespondFun()
|
||
|
{
|
||
|
bagUI.gameObject.SetActive(false);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|