Scorpio.Script.CreateArray C# (CSharp) Method

CreateArray() public method

public CreateArray ( ) : ScriptArray
return ScriptArray
        public ScriptArray CreateArray()
        {
            return new ScriptArray(this);
        }
        public ScriptTable CreateTable()

Usage Example

        private ScriptExecutable m_ScriptExecutable; //函数执行命令

        #endregion Fields

        #region Constructors

        public ScorpioScriptFunction(Script script, List<String> listParameters, ScriptExecutable scriptExecutable, bool bParams)
        {
            this.m_Script = script;
            this.m_ListParameters = new List<string>(listParameters);
            this.m_ScriptExecutable = scriptExecutable;
            this.m_ParameterCount = listParameters.Count;
            this.m_Params = bParams;
            this.m_ParamsArray = bParams ? script.CreateArray() : null;
        }
All Usage Examples Of Scorpio.Script::CreateArray