/// <summary> /// Fills the profile details object with all the current profile's information /// </summary> /// <param name="current"></param> public void InitializeProfile(FinderProfile current) { ProfileDetailsInitializer.Profile = current; ProfileDetailsInitializer.Init(); ProfileDetailsInitializer.GetComponentInChildren <ScrollRect>().normalizedPosition = new Vector2(0, 1); }
private void Awake() { var finderController = FindObjectOfType<FinderController>().FinderProfileController; _personalProfile = finderController.PersonalProfile; }