FamilyTree.OnLook C# (CSharp) Method

OnLook() public method

public OnLook ( ) : void
return void
    public void OnLook()
    {
        if(HudDisplay.isWinter)
        {
            renderer.material.color = Color.red;
            if(player.nutCount != 0){
                target.text = "Press E to Give Nut";
            }
            else{
                target.text = "So hungry, please get us nuts!";
            }
            selected = true;
        }
    }