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