public CustomXsltFunction(string name, XPathResultType[] argTypes, XPathResultType returnType, InvokedFunction function = null) { Prefix = String.Empty; Name = name; ArgTypes = argTypes; ReturnType = returnType; Function = function; }
IEnumerator WaitAndInvoke(float secondsToWait, InvokedFunction func) { yield return(new WaitForSeconds(secondsToWait)); func(); }