Exemple #1
0
    private void Update()
    {
        highlighter.On(highlightColor);

        if (san < 50 && HasItem(ItemId.CANDY))
        {
            bag.Consume(ItemId.CANDY);
        }
    }
Exemple #2
0
 // Update is called once per frame
 void Update()
 {
     highlighter.On(color);
 }
Exemple #3
0
 public void Highlight()
 {
     highlighter.On(Color.white);
 }