Files
UltimateFishing/Assets/Scripts/Assembly-UnityScript/CompilerGenerated/-adaptor-__GeneralBasicJS-callable1-61_33__-Action-0.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_0024callable1_002461_33___0024Action_00240
{
protected __GeneralBasicJS_0024callable1_002461_33__ _0024from;
public _0024adaptor_0024__GeneralBasicJS_0024callable1_002461_33___0024Action_00240(__GeneralBasicJS_0024callable1_002461_33__ from)
{
_0024from = from;
}
public void Invoke(object message)
{
__GeneralBasicJS_0024callable1_002461_33__ _GeneralBasicJS_0024callable1_002461_33__ = _0024from;
object obj = message;
if (!(obj is GameObject))
{
obj = RuntimeServices.Coerce(obj, typeof(GameObject));
}
_GeneralBasicJS_0024callable1_002461_33__((GameObject)obj);
}
public static Action<object> Adapt(__GeneralBasicJS_0024callable1_002461_33__ from)
{
return new _0024adaptor_0024__GeneralBasicJS_0024callable1_002461_33___0024Action_00240(from).Invoke;
}
}
}