void Start() { UpdateEnvironment(); roomMate.GetComponent <Roommate>().enabled = true; //player = GetComponent<Player>(); nightFilter.SetActive(false); }
void Start() { rb2d = GetComponent <Rigidbody2D>(); spriteRenderer = GetComponent <SpriteRenderer>(); spriteRenderer.sprite = playerSpriteNormal; roomMate.GetComponent <Roommate>().enabled = true; sleepButton.interactable = false; talkButton.interactable = false; eatButton.interactable = false; useKnifeButton.interactable = false; CheckHunger(); }