34 lines
976 B
C#
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;
|
|
}
|
|
}
|
|
}
|