33 lines
980 B
C#
33 lines
980 B
C#
using asap.core;
|
|
using Game;
|
|
using System;
|
|
using UniRx;
|
|
using UnityEngine;
|
|
|
|
namespace Script.RuntimeScript.GameLogic
|
|
{
|
|
public class PropBoxItem : MonoBehaviour
|
|
{
|
|
//public GameObject fx_diggingbox_finish;
|
|
//IDisposable disposable;
|
|
//private void OnEnable()
|
|
//{
|
|
// disposable = GContext.OnEvent<EventSandDigNewClamp>().Subscribe(OnPassClamp);
|
|
//}
|
|
//private void OnPassClamp(EventSandDigNewClamp obj)
|
|
//{
|
|
// //if (transform.childCount > 0)
|
|
// //{
|
|
// // fx_diggingbox_finish = transform.GetChild(0).gameObject;
|
|
// fx_diggingbox_finish?.SetActive(false);
|
|
// fx_diggingbox_finish?.SetActive(true);
|
|
// //}
|
|
// GContext.Publish(new EventUISound("audio_ui_sanddig_itemfinish"));
|
|
//}
|
|
//private void OnDisable()
|
|
//{
|
|
// disposable?.Dispose();
|
|
// disposable = null;
|
|
//}
|
|
}
|
|
} |