Skip to content

Instantly share code, notes, and snippets.

@daniele-quero
Created November 15, 2022 10:47
Show Gist options
  • Save daniele-quero/9bd6d69b836038ce3105976e01da52b3 to your computer and use it in GitHub Desktop.
Save daniele-quero/9bd6d69b836038ce3105976e01da52b3 to your computer and use it in GitHub Desktop.
public class LabelActivator : MonoBehaviour
{
public void LabelMuscle()
{
UIManager.Instance.UpdateLabel(1);
}
public void LabelBone()
{
UIManager.Instance.UpdateLabel(2);
}
public void NoLabel()
{
UIManager.Instance.UpdateLabel(-1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment