// Use this for initialization
 void Start()
 {
     this.roomView = GameObject.Find("Canvas").transform.GetComponent <MyRoomView>();
     print("majiang--------");
 }
예제 #2
0
 public RoomControl(MyRoomView _myRoom)
 {
     myRoom = _myRoom;
     EventDispatch.addEventListener(this, "do");
     roomInfo = new RoomInfo();
 }