This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
public class HierarchyUtils { | |
/// <summary> | |
/// Determines if the current selection in the Hierarchy view. | |
/// </summary> | |
/// <returns><c>true</c> if is selection in hierarchy; otherwise, <c>false</c>.</returns> | |
private static bool IsSelectionInHierarchy() { |
NewerOlder