コード例 #1
0
 public static int  obj_hash(long L)
 {
     UnityEngine.UI.Text obj = FCGetObj.GetObj <UnityEngine.UI.Text>(L);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
コード例 #2
0
    public override int GetHashCode()
    {
        int hash = 0;

        if (!ReferenceEquals(Score, null))
        {
            hash ^= Score.GetHashCode();
        }
        if (!ReferenceEquals(WinText, null))
        {
            hash ^= WinText.GetHashCode();
        }
        return(hash);
    }