Skip to main content

MigrateSoundEffectAttribute

A class in Root.Township, the global namespace.

Prefab apply attribute naming a sound effect field to migrate. In this build HandleApply does nothing.

Constructors​

MemberWhat it is
MigrateSoundEffectAttribute(string field)Creates a MigrateSoundEffectAttribute from field.

Fields​

2 private and internal fields
MemberWhat it is
private string fieldName of the field to migrate.
private static Logger loggerNLog logger for this class.

Methods​

MemberWhat it is
override bool HandleApply(Component component, FieldInfo field, GameObject prefab)Always returns false.