Advertisement
thieumao

UserFb

May 3rd, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.67 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. [System.Serializable]
  5. public class UserFb {
  6.     public string Id { get; set; }
  7.     public string Name { get; set; }
  8.     public string Score { get; set; }
  9.     public Texture Avatar{ get; set; }
  10.  
  11.     public UserFb(string id, string name, string score, Texture avatar)
  12.     {
  13.         this.Id = id;
  14.         this.Name = name;
  15.         this.Score = score;
  16.         this.Avatar = avatar;
  17.     }
  18.  
  19.     public UserFb(string id, string name, string score)
  20.     {
  21.         this.Id = id;
  22.         this.Name = name;
  23.         this.Score = score;
  24.     }
  25.  
  26.     public UserFb(string score, Texture avatar)
  27.     {
  28.         this.Score = score;
  29.         this.Avatar = avatar;
  30.     }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement