code: public boolean invokeFunction(String funcName, Object[] args)
      {
          mLastError = null;
          if (mScriptFile != null)
          {
              if (mScriptFile.invokeFunction(funcName, args))
              {
                  return true;
              }
          }
          mLastError = mScriptFile.getLastError();
          if ((mLastError != null) && !mLastError.contains("is not defined"))
          {
              getGVRContext().logError(mLastError, this);
          }
          return false;
      }
docs: Calls a function script associated with this component.
  The function is called even if the component
  is not enabled and not attached to a scene object.
  @param funcName name of script function to call.
  @param args function parameters as an array of objects.
  @return true if function was called, false if no such function
  @see org.gearvrf.script.GVRScriptFile#invokeFunction(String, Object[]) invokeFunction