This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AW_2025/Assets/Scripts/ColiderButton2.cs
2025-03-04 10:13:12 +09:00

18 lines
389 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WIFramework.UI;
using WSH;
using WSH.UI;
public class ColiderButton2 : MonoBehaviour
{
public UI_Panel_PermissionCheck myPanel;
private void OnTriggerEnter(Collider other)
{
if (!other.CompareTag(ControlPanel.controllerTag))
return;
myPanel.OnClick_Ok();
}
}