Jump to content
blade33ru

csmt unfreeze

Recommended Posts

Try this script out. Create a new C# script in the ProGroups/Scripts/Editor folder named ProGroups_ResetHideFlags.cs and paste the contents.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

namespace ProGroups
{
	/**
	 *	Reset all GameObjects in a Scene to HideFlags.None.
	 */
	public class ProGroups_ResetHideFlags : Editor
	{
		[MenuItem("Tools/ProGroups/Debug/Reset HideFlags")]
		static void MenuResetHideFlags()
		{
			foreach(Transform trs in Resources.FindObjectsOfTypeAll<Transform>())
				trs.gameObject.hideFlags = HideFlags.None;
		}
	}
}

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×