public void HideFrameStats() { if ( IsFrameStatsVisible ) { DestroyWidget( mFpsLabel ); DestroyWidget( StatsPanel ); mFpsLabel = null; StatsPanel = null; } }