hi,
i want to invoke an js callback from c# with unknown arguments count
example:
i want to invoke an js callback from c# with unknown arguments count
example:
public void Fire(string name, params object[]args)
{
if (_listeners.ContainsKey(name))
{
foreach (var l in _listeners[name])
{
l(args);
}
}
}
but the expected 2. argument in js is undefined