对于函数参数的out类型参数,在lua的脚本中可以使用nil匹配函数输入参数
如:ColorUtility
lua中想获取out color可以这么写
local res, color = UnityEngine.ColorUtility.TryParseHtmlString("#DF0F08", nil) --out参数位置用nil代替,color放在前面第二个位置接收out返回来的参数