35 lines
868 B
C#
35 lines
868 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Device_Sundries : Device_Base
|
|
{
|
|
protected override void OnMDown()
|
|
{
|
|
if ((triggerAction == null ? 0 : triggerAction.Invoke(triggerName, true)) == 0)
|
|
{
|
|
base.OnMDown();
|
|
Debug.Log("ÇåÀí¹ñ×ÓÔÓÎï");
|
|
gameObject.SetActive(false);
|
|
//triggerAction.Invoke(triggerName, false);
|
|
base.CallScoreAction();
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// ²»ÐèÒª
|
|
/// </summary>
|
|
/// <param name="triggerInfo"></param>
|
|
/// <exception cref="System.NotImplementedException"></exception>
|
|
public override void LoadCurrentTriggerStat(string triggerInfo)
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
|
|
public override string SaveCurrentTriggerStat()
|
|
{
|
|
return "";
|
|
}
|
|
}
|