This version of Unity is unsupported.

PlistElement.AsBoolean

Declaration

public bool AsBoolean();

Returns

bool The value of the boolean element.

Description

Convenience function to convert to bool.

The method is equivalent to ((PlistElementBoolean) el).value. Throws exception if the element is not PlistElementBoolean.