Support for yes/no buttons in Main Menu - Dolina Zombie (etc.)

Đang mở
#396 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
50/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, unity
Lĩnh vực
game-dev

Hướng nghiên cứu

Start where the Main Menu handles the G1 direct NEW_GAME action and the MainMenu.Close call it makes, then find where the menu opens its prefab for each menu id. Add the listed yes/no menu ids (MENU_NEW_GAME, MENU_WIRKLICH_NEUES, MENU_PLAY_SELECT, MENU_NG) so opening one immediately starts a new game as if confirmed. Done means each listed id starts a new game without showing a prompt. The FIXME asks for a better design, so check with maintainers before settling on a name list.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

improvement

G2's MENU_NEW_GAME (and G1 mods' custom equivalents — Dolina Zombie's
MENU_WIRKLICH_NEUES, Świat Skazańców' MENU_PLAY_SELECT, New Balance's MENU_NG) is
only a yes/no confirmation dialog (headline + yes + no) and we have no prefab for
it — treat opening it as an immediate "yes" and start the new game right away (same
call MainMenu.Close makes for G1's direct NEW_GAME action). The set of compatible
mods is finite in practice, so a plain name list is simpler than generic detection.

FIXME - Find proper way of having a yes/no popup. Maybe the type is a new one we need to support rather than hardcoded name checking like this.

Image
Ngôn ngữ chính
C#
Star
33
Fork
1
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
51

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Gothic-Unity-Project/Gothic-Unity

Tất cả issue của Gothic-Unity-Project/Gothic-Unity

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.