public static class Constants
{
public static class Identifiers {
public const string LeatherArmour = "4c0827ba-3416-445f-8999-b1791290a0d0";
}
public static class Layers
{
public const int Interactable = 3;
public const int Player = 9;
public const int ActivePickups = 12;
public const int InactiveProjectiles = 13;
public const int InactivePickups = 14;
public const int DeadThings = 17;
}
}
And reference them like:
var tooltipInstance = Instantiate(tooltipPrefab, transform);
tooltipInstance.Setup(InventoryItem.GetFromID(Constants.Identifiers.LeatherArmour));