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
Frontec/Assets/colliderbutton.cs
jmaniuvc 2936c48466 Frontec
2025-02-24 12:12:52 +09:00

17 lines
393 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WIFramework.UI;
using WSH;
public class colliderbutton : MonoBehaviour
{
public bool isOn;
public PanelBase myPanel;
private void OnTriggerEnter(Collider other)
{
if (!other.CompareTag(ControlPanel.controllerTag))
return;
myPanel.OnClick_ColliderButton();
}
}