Files
UltimateFishing/Assets/Scripts/Assembly-UnityScript/CompilerGenerated/-adaptor-__GeneralBasicJS-callable2-71_33__-Action-1.cs
2026-02-21 16:45:37 +08:00

34 lines
976 B
C#

using System;
using Boo.Lang.Runtime;
using UnityEngine;
namespace CompilerGenerated
{
[Serializable]
internal sealed class _0024adaptor_0024__GeneralBasicJS_0024callable2_002471_33___0024Action_00241
{
protected __GeneralBasicJS_0024callable2_002471_33__ _0024from;
public _0024adaptor_0024__GeneralBasicJS_0024callable2_002471_33___0024Action_00241(__GeneralBasicJS_0024callable2_002471_33__ from)
{
_0024from = from;
}
public void Invoke(object message)
{
__GeneralBasicJS_0024callable2_002471_33__ _GeneralBasicJS_0024callable2_002471_33__ = _0024from;
object obj = message;
if (!(obj is GameObject))
{
obj = RuntimeServices.Coerce(obj, typeof(GameObject));
}
_GeneralBasicJS_0024callable2_002471_33__((GameObject)obj);
}
public static Action<object> Adapt(__GeneralBasicJS_0024callable2_002471_33__ from)
{
return new _0024adaptor_0024__GeneralBasicJS_0024callable2_002471_33___0024Action_00241(from).Invoke;
}
}
}