public Waypoints() { this._name = "Waypoints"; this._hotbarIcon = new UIImage(UIView.GetEmbeddedTexture("Images/waypointIcon")); this.HotbarIcon.Tooltip = "View Waypoints"; this.HotbarIcon.onLeftClick += HotbarIcon_onLeftClick; waypointWindow = new WaypointWindow(); waypointWindow.Visible = false; this.AddUIView(waypointWindow); }
public Waypoints() { this._name = "Waypoints"; this._hotbarIcon = new UIImage(HEROsMod.instance.GetTexture("Images/waypointIcon")); this.HotbarIcon.Tooltip = HEROsMod.HeroText("ViewWaypoints"); this.HotbarIcon.onLeftClick += HotbarIcon_onLeftClick; waypointWindow = new WaypointWindow(); waypointWindow.Visible = false; this.AddUIView(waypointWindow); }