public bool CallFunction()
 {
     if (m_delegatePointer != null)
     {
         return(CallDelegateFunction());
     }
     if (string.IsNullOrEmpty(m_stringFunctionName))
     {
         if (m_target != null)
         {
             return(KiltUtils.CallFunction(m_target, FunctionType, m_stringFunctionName, Params.ToArray()));
         }
         else
         {
             return(KiltUtils.CallStaticFunction(FunctionType, m_stringFunctionName, Params.ToArray()));
         }
     }
     return(false);
 }