Created
March 24, 2020 01:43
-
-
Save beardordie/1086889a86b8bbb4a90b6d2180fc6492 to your computer and use it in GitHub Desktop.
Unity - If you want a root GameObject to be selected when you click on a child object such as a mesh, put this MonoBehaviour on the root
This file contains 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; | |
[SelectionBase] | |
public class SelectionBase : MonoBehaviour { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment