namespace UnityEngine.Perception.Randomization { /// /// Derive this class to create a typed asset role. /// Typed asset roles are used to apply preprocessing steps to assets loaded from an . /// /// The type of asset to preprocess public abstract class AssetRole : IAssetRoleBase where T : Object { /// public abstract string label { get; } /// public abstract string description { get; } /// /// Perform preprocessing operations on an asset loaded from an . /// /// The asset to preprocess public abstract void Preprocess(T asset); } }