FamilyTree.OnLook C# (CSharp) 메소드

OnLook() 공개 메소드

public OnLook ( ) : void
리턴 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;
        }
    }