Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsValidUnityYAML(string)

Returns true if the provided string can be parsed as YAML.
Read time 1 minuteLast updated 6 days ago

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.