private void OnDestroy()
{
if (this.m_ColorSwatch != null)
{
Object.DestroyImmediate(this.m_ColorSwatch);
}
if (this.m_ColorSwatchTriangular != null)
{
Object.DestroyImmediate(this.m_ColorSwatchTriangular);
}
if (this.m_MiniColorSwatchTriangular != null)
{
Object.DestroyImmediate(this.m_MiniColorSwatchTriangular);
}
if (this.m_CheckerBoard != null)
{
Object.DestroyImmediate(this.m_CheckerBoard);
}
}