Files
ichni_Official/Assets/Scripts/Game/Base/BaseElement.cs

52 lines
990 B
C#
Raw Normal View History

2025-06-03 02:42:28 -04:00
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Ichni.RhythmGame.Beatmap;
using Sirenix.OdinInspector;
using UniRx;
using UnityEngine;
namespace Ichni.RhythmGame
{
public interface IBaseElement
{
public BaseElement_BM matchedBM { get; set; }
/// <summary>
/// 刷新物体的状态
/// </summary>
public void Refresh()
{
2026-03-14 03:13:10 -04:00
2025-06-03 02:42:28 -04:00
}
/// <summary>
/// 当物体被删除时执行的方法
/// </summary>
public void OnDelete()
{
throw new NotImplementedException();
}
/// <summary>
/// 删除物体,包括所有子物体
/// </summary>
public void Delete()
{
throw new NotImplementedException();
}
public void SetUpInspector()
{
2026-03-14 03:13:10 -04:00
2025-06-03 02:42:28 -04:00
}
}
public interface IHaveInteraction
{
public void TriggerInteraction();
}
2026-03-14 03:13:10 -04:00
}
2025-06-03 02:42:28 -04:00