public void OnDestroy() { this.ClearController(); if (this.m_Timeline != null) { this.m_Timeline = null; } if (this.m_AvatarPreview != null) { this.m_AvatarPreview.OnDestroy(); this.m_AvatarPreview = null; } }