예제 #1
0
 public Task AddLink(string groupName, Link1 message)
 {
     return(Clients.Group(groupName).SendAsync("LinkAdded", message));
 }
예제 #2
0
 private void Awake()
 {
     l  = gameObject.GetComponent <Link>();
     l1 = gameObject.GetComponent <Link1>();
     sr = GetComponent <SpriteRenderer>();
 }