예제 #1
0
        //public XXX[] xxxs;

        public static TEEE Range()
        {
            TEEE t = new TEEE();

            t.id   = UnityEngine.Random.Range(0, int.MaxValue);
            t.name = "324rr23dc";
            t.text = "sdfasdfsad";

            t.xxx = new XXX()
            {
                id = 32332,
                x  = "3232",
                y  = "2341"
            };

            return(t);
        }
예제 #2
0
        public bool Equals(TEEE other)
        {
            if (id != other.id)
            {
                return(false);
            }

            if (name != other.name)
            {
                return(false);
            }

            if (text != other.text)
            {
                return(false);
            }

            if (!xxx.Equals(other.xxx))
            {
                return(false);
            }

            return(true);
        }