This version of Unity is unsupported.

Matrix4x4.isIdentity

public bool isIdentity;

Description

Checks whether this is an identity matrix. (Read Only)

An identity matrix contains 1.0 in the main diagonal, and 0.0 for every other elements.

See Also: Matrix4x4.identity property.