示例#1
0
 private void AssignInternalComponentReferences()
 {
     avatarImage       = transform.Find("AvatarContainer/SearchedAvatarImage").GetComponent <UserAvatarImage> ();
     usernameText      = transform.Find("SearchedUsernameText").GetComponent <Text> ();
     sendRequestButton = transform.Find("SearchedAddButton").GetComponent <Button> ();
     menuItemButton    = this.GetComponent <Button> ();
 }
 private void AssignInternalComponentReferences()
 {
     avatarImage    = transform.Find("AvatarContainer/SentAvatarImage").GetComponent <UserAvatarImage> ();
     usernameText   = transform.Find("SentUsernameText").GetComponent <Text> ();
     cancelButton   = transform.Find("CancelButton").GetComponent <Button> ();
     menuItemButton = this.GetComponent <Button> ();
 }
 private void AssignInternalComponentReferences()
 {
     avatarImage    = transform.Find("AvatarContainer/AcceptedAvatarImage").GetComponent <UserAvatarImage> ();
     usernameText   = transform.Find("AcceptedUsernameText").GetComponent <Text> ();
     moreInfoButton = transform.Find("MoreInfoButton").GetComponent <Button> ();
     menuItemButton = this.GetComponent <Button> ();
 }
示例#4
0
 private void AssignInternalComponentReferences()
 {
     avatarImage  = transform.Find("CommentUserAvatar").GetComponent <UserAvatarImage> ();
     commentText  = transform.Find("CommentText").GetComponent <Text> ();
     actionButton = transform.Find("CommentActionButton").GetComponent <Button> ();
 }
 private void AssignInternalComponentReferences()
 {
     avatarImage      = transform.Find("SharedAvatar/SharedAvatarImage").GetComponent <UserAvatarImage> ();
     usernameText     = transform.Find("SharedUsernameText").GetComponent <Text> ();
     shareGlyphToggle = transform.Find("IsSharedToggle").GetComponent <Toggle> ();
 }