ShanxiKnowledgeBase/SXElectricityFaultA&E/Assets/Scripts/SceneGameClickComponent.cs

12 lines
225 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneGameClickComponent : MonoBehaviour
{
private void OnMouseDown()
{
this.gameObject.SetActive(false);
}
}