123456789101112131415161718192021222324252627282930313233343536 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityGameFramework.Runtime;
- public class SceneEventDropRangeLogic : MonoBehaviour
- {
- GameObject _stroeObj;
- private void Awake()
- {
- this._stroeObj = transform.Find("juqing_luoshi").gameObject;
- this._stroeObj.SetActive(false);
- }
- // Start is called before the first frame update
- void Start()
- {
- }
- public void OnTriggerEnter(Collider collider)
- {
- this._stroeObj.SetActive(true);
- }
- public void OnTriggerExit(Collider collider)
- {
- }
- public void EnableCollider()
- {
- }
- //public void OnTriggerStay(Collider collider)
- //{
- // LogHelper.Log("--------------------- OnTriggerStay -----------------------");
- //}
- }
|