void DoInvokeMethod(GameObject go)
{
if (go == null) return;
component = go.GetComponent(behaviour.Value) as MonoBehaviour;
if (component == null)
{
LogWarning("InvokeMethod: " + go.name + " missing behaviour: " + behaviour.Value);
return;
}
if (repeating.Value)
component.InvokeRepeating(methodName.Value, delay.Value, repeatDelay.Value);
else
component.Invoke(methodName.Value, delay.Value);
}