private void InitMask()
{
if (this.m_Mask == null)
{
this.m_Mask = new AvatarMask();
this.m_MaskInspector = (AvatarMaskInspector) Editor.CreateEditor(this.m_Mask);
this.m_MaskInspector.canImport = false;
if (this.m_ClipInfo != null)
{
this.m_MaskInspector.clipInfo = this.m_ClipInfo;
}
if (this.m_Mask.transformCount == 0)
{
this.SetTransformMaskFromReference();
}
}
}