void SetObjectWereFollowing(Transform target) { following = true; objectWereFollowing = target; if (!ourSystem.IsPlaying()) { PlayOurSystem(); } }
void CheckIfRoomWithOurSconce(Room room) { if (room == ourHiddenSconce.parentRoom && canSenseHiddenSconce) { PlaySensingEffect(); if (speech != null) { SpeechTrigger.SpeechTriggeredWrapper(speech); } } else { if (sensingSystem.IsPlaying()) { StopSensingEffect(); } } }