public void Bind(TDelegate evnt) { IntPtr functionAddress; UObject target; if (GetFunctionAddress(evnt, out functionAddress, out target)) { Bind(target, NativeReflection.GetFName(functionAddress)); } else { OnInvalidDelegate(evnt); } }
public bool IsTargetBound(TDelegate evnt) { IntPtr functionAddress; UObject target; if (GetFunctionAddress(evnt, out functionAddress, out target)) { return(IsTargetBound(target, NativeReflection.GetFName(functionAddress))); } else { OnInvalidDelegate(evnt); } return(false); }