using System; using UnityEngine.Scripting.APIUpdating; namespace UnityEngine.Perception.Randomization.Randomizers { /// /// The AddRandomizerMenu attribute allows you to organize randomizers under different menu paths /// [MovedFrom("UnityEngine.Experimental.Perception.Randomization.Randomizers")] public class AddRandomizerMenuAttribute : Attribute { /// /// The assigned randomizer menu path. Path directories should be separated using forward slash characters. /// public string menuPath; /// /// Add a randomizer to the AddRandomizerMenus /// /// The assigned randomizer menu path public AddRandomizerMenuAttribute(string menuPath) { this.menuPath = menuPath; } } }