Exemplo n.º 1
0
 private void Awake()
 {
     this.room = this.GetComponent <ManualRoom>();
     this.room.events.generate.AddListener(this.Generate);
     this.room.events.startRoom.AddListener(this.StartRoom);
     this.room.events.unload.AddListener(this.Unload);
 }
Exemplo n.º 2
0
 private void Awake()
 {
     this.room = this.GetComponent <ManualRoom>();
     this.room.events.generate.AddListener(this.Generate);
 }
Exemplo n.º 3
0
 public MonoRoom(ManualRoom handler, int width, int height, bool symmetric = false)
     : base(width, height, symmetric)
 {
     this.handler = handler;
 }