unity change enum from another script code example
Example: unity access enum from another script
//Item.cs
public class Item{
//your code
}
public enum ItemType
{
DoorKeys,
Papers,
OtherObjects,
chaveParte
}