예제 #1
0
 public static RoomControll sharRoomControll()
 {
     if (shar == null)
     {
         shar = new RoomControll();
     }
     return(shar);
 }
예제 #2
0
        public void sendToControll()
        {
            RoomControll roomControll = RoomControll.sharRoomControll();

            roomControll.setDesk(desk);
            roomControll.setText(this.transform.Find("Panel/Image (5)/roomInfoText").GetComponent <Text>());
            roomControll.setButten(this.transform.Find("Panel/my_User/Button").GetComponent <Button>());
            roomControll.setParent(parents);
        }