Click or drag to resize

CheckerMaterial Methods

The CheckerMaterial type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDrawSettings(Rect, Action)
Draw checker texture settings zone
Public methodStatic memberDrawSettings(Rect, RectOffset, Action)
Draw checker texture settings zone
Public methodStatic memberCode exampleGet
Get checker material.

Do not destroy it manually, just Release(Guid) when the need has gone.

Public methodStatic memberGetHeight
Get height of settings drawing zone
Public methodStatic memberGetHeight(RectOffset)
Get height of settings drawing zone
Public methodStatic memberCode exampleRelease
Release checker material.

CheckerMaterial will check if another request exists. If not - it will destroy checker material instance.

Top
See Also