E_ElecCompetition/Electrical_inspectionCompet.../Assets/Script/Interactive/interactive.cs

15 lines
283 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class interactive : MonoBehaviour
{
public bool isInteractive;
public GameObject g1;
[ContextMenu("ÔËÐÐ")]
void init()
{
g1 = transform.GetChild(0).gameObject;
}
}