Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 private void Awake() {
     var finderController = FindObjectOfType<FinderController>().FinderProfileController;
     _personalProfile = finderController.PersonalProfile;
 }