示例#1
0
        public void TestAdd(int i, int j)
        {
            var sum = Util.Add(i, j);

            Assert.Equal(i + j, sum);
        }
示例#2
0
 public static T Add <T>(Transform go) where T : Component
 {
     return(Util.Add <T>(go.gameObject));
 }
 public void SendConnectTCP()
 {
     Util.Add <SocketClient>(this.gameObject);
     SocketClient.SendConnectTCP();
 }