Exemple #1
0
 public void SetValueByIndex(int key, ScriptValue value)
 {
     if (valueType == scriptValueType)
     {
         scriptValue.SetValueByIndex(key, value);
     }
     else
     {
         throw new ExecutionException($"类型[{ValueTypeName}]不支持设置变量 Index : [{key}]");
     }
 }