GenerateCollectionCallbackAttribute Class
Definition
Section titled “Definition”Mark a field or property to generate a collection callback. The target must derive from ScriptableList<T> or ScriptableDictionary<TKey, TValue>.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)][ExcludeFromCodeCoverage]public sealed class GenerateCollectionCallbackAttribute : AttributeInheritance object → Attribute
Remarks
Section titled “Remarks”The containing type must be marked with GenerateScriptableCallbacksAttribute in order to generate any callbacks.
Properties
Section titled “Properties”CallbackName
Section titled “CallbackName”Can be used to set a custom name for the generated callback method. If not set, the default naming convention will be used.
public string CallbackName { get; set; }