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); }
private void Awake() { this.room = this.GetComponent <ManualRoom>(); this.room.events.generate.AddListener(this.Generate); }
public MonoRoom(ManualRoom handler, int width, int height, bool symmetric = false) : base(width, height, symmetric) { this.handler = handler; }