文档

Unity Engine

Unity Engine

IsValidUnityYAML(string)

Returns true if the provided string can be parsed as YAML.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool IsValidUnityYAML(string yaml)

Parameters

yaml

String containing the value to be parsed.

Returns

Type

Description

bool

Remarks

Do not use this in performance sensitive contexts.