void Awake() { thisSprite = GetComponentInChildren <SpriteRenderer>(); lightingRoomParent = transform.parent.gameObject.GetComponentInParent <LightingRoom>(); clickSFX = GetComponent <AudioSource>(); }
void Awake() { lightingRoomParent = GetComponentInParent <LightingRoom>(); }