//Function that overrides current state with a number public void SetCurrentState(int INT_TEMP) { STATE = (EmailSiteState)(INT_TEMP); //FindScrollView(GameObject.Find("Desktop"), "Scroll View").GetComponent<ScrollRect>().verticalNormalizedPosition = 1.0f; }
//Function that sets the state of the email public void SetCurrentState(EmailSiteState TEMP) { STATE = TEMP; }