{"id":335650,"date":"2022-07-13T09:00:18","date_gmt":"2022-07-13T09:00:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=335650"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=335650","title":{"rendered":"<span>[4] \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 Survival Horror \u0432 \u0441\u0442\u0438\u043b\u0435 RE2 \u043d\u0430 Unreal Engine \u0438 \u0421++. \u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 1)<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/556\/f08\/675\/556f08675c2cf20236cb45a8de805abe.png\" width=\"807\" height=\"454\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/556\/f08\/675\/556f08675c2cf20236cb45a8de805abe.png\"\/><figcaption><\/figcaption><\/figure>\n<details class=\"spoiler\">\n<summary>\u0412\u0435\u0441\u044c \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439<\/summary>\n<div class=\"spoiler__content\">\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/675906\/\" rel=\"noopener noreferrer nofollow\">\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u0438\u043c\u043f\u043e\u0440\u0442 \u0430\u0441\u0441\u0435\u0442\u043e\u0432<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676530\/\" rel=\"noopener noreferrer nofollow\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u0438 \u043a\u0430\u043c\u0435\u0440\u043e\u0439<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676642\/\" rel=\"noopener noreferrer nofollow\">\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676644\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 1)<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/details>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 &#8212; <a href=\"https:\/\/www.youtube.com\/redirect?event=comments&amp;redir_token=QUFFLUhqbjVjYTdHUFlnT0hQSVRLZ2Y2VnVNS3BvSlNiZ3xBQ3Jtc0tsemY0d1lyMUk5Qng1WExDR3EyX1hRTmhXOGgxTVlnWUJPcnMwNzlnUnpISDJkeFhyTlc2MlJUY1BndUtWLUY4R091bzFHc01NRDFmOGRBR0xwdGhVMFV3aGVQWUF1SlNZY0o5LUxPdF80MmhYR2FkOA&amp;q=https%3A%2F%2Fgithub.com%2FSalamandrSpb%2FSurvivalHorror&amp;stzid=UgyjLIkJuXDmelG1LOh4AaABAg\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/SalamandrSpb\/SurvivalHorror<\/a>  <\/p>\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442.<\/p>\n<p>\u0412\u043e\u0442 \u043c\u044b \u0438 \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u041c\u044b \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u043d\u0430 \u0421++. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u0432\u0437\u044f\u043b \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0441\u00a0<a href=\"https:\/\/www.youtube.com\/c\/ReidsChannel\" rel=\"noopener noreferrer nofollow\">\u044d\u0442\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0435\u043b\u0430\u043d \u043d\u0430 Blueprints.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 HUD, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0448\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u044b.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 C++ \u043a\u043b\u0430\u0441\u0441 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>SHPlayerHUD<\/strong>\u00a0\u0432 \u043d\u043e\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>UI<\/strong>. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c\u00a0<strong>HUD<\/strong>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1e4\/73e\/e64\/1e473ee645ce1688e7f10d908eb97461.png\" alt=\"\" title=\"\" width=\"535\" height=\"253\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1e4\/73e\/e64\/1e473ee645ce1688e7f10d908eb97461.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043d\u043e\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Inventory<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0421++ \u043a\u043b\u0430\u0441\u0441 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>SHInventoryWidget<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442\u00a0<strong>UserWidget<\/strong>. \u0412 \u044d\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u0430 \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u043c \u0431\u043b\u044e\u043f\u0440\u0438\u043d\u0442 \u043a\u043b\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c80\/858\/d5b\/c80858d5b3bea76ee46e283b198970a4.png\" alt=\"\" title=\"\" width=\"453\" height=\"238\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c80\/858\/d5b\/c80858d5b3bea76ee46e283b198970a4.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Inventory<\/strong>\u00a0\u043a\u043b\u0430\u0441\u0441 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f\u00a0<strong>SHInventoryComponent<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u00a0<strong>Actor Component<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/793\/481\/622\/79348162256d1600883537c9541fcde3.png\" alt=\"\" title=\"\" width=\"628\" height=\"271\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/793\/481\/622\/79348162256d1600883537c9541fcde3.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.h<\/strong>\u00a0\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c55\/d6d\/e63\/c55d6de63daafab395d9e20bd9764971.png\" alt=\"\" title=\"\" width=\"657\" height=\"89\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c55\/d6d\/e63\/c55d6de63daafab395d9e20bd9764971.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.cpp<\/strong>\u00a0\u0438 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/002\/2aa\/0b4\/0022aa0b4a18333e793a4b3ae92a39f8.png\" alt=\"\" title=\"\" width=\"813\" height=\"86\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/002\/2aa\/0b4\/0022aa0b4a18333e793a4b3ae92a39f8.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u00a0<strong>SHInventoryComponent.h\u00a0<\/strong>\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u00a0<strong>Column<\/strong>\u00a0\u0438\u00a0<strong>Row<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c1\/59b\/60e\/4c159b60e90fe51507cb1c6e8d2e004c.png\" alt=\"\" title=\"\" width=\"704\" height=\"221\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4c1\/59b\/60e\/4c159b60e90fe51507cb1c6e8d2e004c.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u00a0<strong>Get \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/strong>\u00a0\u0432\u00a0<strong>public<\/strong>\u00a0\u0441\u0435\u043a\u0446\u0438\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u0430\u0445:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9b1\/e89\/af7\/9b1e89af74cc682eb2ad4cde89c518f2.png\" alt=\"\" title=\"\" width=\"411\" height=\"69\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9b1\/e89\/af7\/9b1e89af74cc682eb2ad4cde89c518f2.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<strong>Size<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u044f\u0447\u0435\u0435\u043a:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bee\/ff7\/4f8\/beeff74f8740a8f236a26aa9e1b0daa2.png\" alt=\"\" title=\"\" width=\"745\" height=\"99\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bee\/ff7\/4f8\/beeff74f8740a8f236a26aa9e1b0daa2.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0442\u0430\u043a\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c Get \u0444\u0443\u043d\u043a\u0446\u0438\u044e:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/918\/03d\/259\/91803d259477e5243757603803eeeb79.png\" alt=\"\" title=\"\" width=\"405\" height=\"54\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/918\/03d\/259\/91803d259477e5243757603803eeeb79.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0431\u043b\u044e\u043f\u0440\u0438\u043d\u0442 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430, \u0442\u043e \u0443\u0432\u0438\u0434\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c7b\/8ff\/727\/c7b8ff72709782f18708c8a2ae92c491.png\" alt=\"\" title=\"\" width=\"338\" height=\"119\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c7b\/8ff\/727\/c7b8ff72709782f18708c8a2ae92c491.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 \u044f\u0447\u0435\u0435\u043a \u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a77\/058\/b1b\/a77058b1b1c84e8ac440f992337bc369.png\" alt=\"\" title=\"\" width=\"381\" height=\"119\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a77\/058\/b1b\/a77058b1b1c84e8ac440f992337bc369.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Inventory<\/strong>\u00a0\u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0421++ \u043a\u043b\u0430\u0441\u0441\u00a0<strong>SHInventoryGridWidget<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442\u00a0<strong>UserWidget<\/strong>.<\/p>\n<p>\u041e\u043d \u0431\u0443\u0434\u0435\u0442 &#171;\u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c&#187; \u0441\u0435\u0442\u043a\u0443 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f2a\/060\/745\/f2a0607453b13fd9c5745c2c0afcd9a8.png\" alt=\"\" title=\"\" width=\"562\" height=\"266\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f2a\/060\/745\/f2a0607453b13fd9c5745c2c0afcd9a8.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Blueprints->Inventory<\/strong>\u00a0\u0432\u0438\u0434\u0436\u0435\u0442\u00a0<strong>WBP_InventoryGrid<\/strong>, \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u044f\u0441\u044c \u043e\u0442\u00a0<strong>SHInventoryGridWidget<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/50f\/dd4\/1f3\/50fdd41f33dc96ef7b001160368187d6.png\" alt=\"\" title=\"\" width=\"515\" height=\"235\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/50f\/dd4\/1f3\/50fdd41f33dc96ef7b001160368187d6.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0436\u0435 \u043f\u0430\u043f\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0432\u0438\u0434\u0436\u0435\u0442\u00a0<strong>WBP_Inventory<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442\u00a0<strong>SHInventoryWidget<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/822\/68a\/f47\/82268af47893886266da21c6ba25b7e4.png\" alt=\"\" title=\"\" width=\"500\" height=\"216\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/822\/68a\/f47\/82268af47893886266da21c6ba25b7e4.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Blueprints<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c Blueprint \u043a\u043b\u0430\u0441\u0441\u00a0<strong>BP_SHPlayerHUD<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong>SHPlayerHUD<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/120\/05f\/b14\/12005fb1443c5ad3a9031bcf8e25cdcf.png\" alt=\"\" title=\"\" width=\"630\" height=\"217\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/120\/05f\/b14\/12005fb1443c5ad3a9031bcf8e25cdcf.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u00a0<strong>BP_SHGameModeBase<\/strong>\u00a0\u0438 \u0432\u00a0<strong>HUD class<\/strong>\u00a0\u0441\u0442\u0430\u0432\u0438\u043c \u043d\u0430\u0448\u00a0<strong>BP_SHPlayerHUD<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5b9\/99d\/022\/5b999d0224b00d16f110631830552459.png\" alt=\"\" title=\"\" width=\"776\" height=\"187\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5b9\/99d\/022\/5b999d0224b00d16f110631830552459.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u00a0<strong>SHPlayerHUD.h<\/strong>.<\/p>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438\u00a0<strong>protected<\/strong>\u00a0\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong>TSubClassOf<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>InventoryWidgetClass\u00a0<\/strong>\u0438\u00a0<strong>InventoryGridWidgetClass<\/strong>, \u0432 \u0431\u043b\u044e\u043f\u0440\u0438\u043d\u0442\u0435\u00a0<strong>BP_SHPlayerHUD\u00a0<\/strong>\u043c\u044b \u0443\u043a\u0430\u0436\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/35e\/921\/bec\/35e921bec08255900d2deb3d43fc40f7.png\" alt=\"\" title=\"\" width=\"719\" height=\"158\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/35e\/921\/bec\/35e921bec08255900d2deb3d43fc40f7.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0432 \u0441\u0435\u043a\u0446\u0438\u0438\u00a0<strong>protected<\/strong>\u00a0\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>BeginPlay<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fee\/866\/174\/fee86617478aa2712182e654a3c37a72.png\" alt=\"\" title=\"\" width=\"356\" height=\"65\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fee\/866\/174\/fee86617478aa2712182e654a3c37a72.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory<\/strong>\u00a0\u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u00a0<strong>PlayerController\u00a0<\/strong>\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/747\/f69\/2b9\/747f692b92aae85c2b94599080111077.png\" alt=\"\" title=\"\" width=\"906\" height=\"79\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/747\/f69\/2b9\/747f692b92aae85c2b94599080111077.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043d\u0430 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u0441\u0435\u0442\u043a\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7fd\/fc2\/c6a\/7fdfc2c6a26bf284ea9d8272c7e4dbba.png\" alt=\"\" title=\"\" width=\"441\" height=\"142\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7fd\/fc2\/c6a\/7fdfc2c6a26bf284ea9d8272c7e4dbba.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7a3\/19a\/39e\/7a319a39e1e013104da25f980aa8c182.png\" alt=\"\" title=\"\" width=\"368\" height=\"117\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7a3\/19a\/39e\/7a319a39e1e013104da25f980aa8c182.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHPlayerHUD.cpp<\/strong>\u00a0\u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b\u00a0<strong>&#171;Blueprint\/UserWidget.h&#187;, &#171;Inventory\/SHInventoryWidget.h&#187;<\/strong>,\u00a0<strong>&#171;Inventory\/SHInventoryGridWidget.h&#187;<\/strong>\u00a0\u0438\u00a0<strong>&#171;Inventory\/SHInventoryComponent.h&#187;<\/strong><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/aca\/753\/ec7\/aca753ec7491ba14c96ab2a734d402fe.png\" alt=\"\" title=\"\" width=\"413\" height=\"104\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/aca\/753\/ec7\/aca753ec7491ba14c96ab2a734d402fe.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>BeginPlay<\/strong>\u00a0\u0438 \u0432 \u043d\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f c \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>CreateWidget<\/strong>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u0438\u0434\u0436\u0435\u0442 \u0434\u043b\u044f \u0441\u0435\u0442\u043a\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043c\u0438\u0440, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8212; \u044d\u0442\u043e \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/baa\/2bb\/8c9\/baa2bb8c96485d932e9bae9e2d3c396c.png\" alt=\"\" title=\"\" width=\"940\" height=\"181\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/baa\/2bb\/8c9\/baa2bb8c96485d932e9bae9e2d3c396c.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory<\/strong>\u00a0\u0438 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u043b\u043e\u0433\u0438\u043a\u0443 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0433\u0434\u0430 \u0431\u044b\u043b \u043e\u0442\u043a\u0440\u044b\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u0441\u044f \u043a\u0443\u0440\u0441\u043e\u0440 \u043c\u044b\u0448\u0438 \u0438 \u043c\u044b \u043d\u0435 \u043c\u043e\u0433\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u043c\u0435\u0440\u043e\u0439.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u00a0<strong>InventoryWidget<\/strong>\u00a0\u043d\u0435 \u043f\u0443\u0441\u0442\u043e\u0439.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0438\u043b\u0438 \u043d\u0435\u0442. \u0414\u043b\u044f \u044d\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>IsInViewport<\/strong>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043e\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u00a0<strong>true<\/strong>, \u043d\u0443\u0436\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>RemoveFromParent<\/strong>, \u0430 \u0435\u0441\u043b\u0438\u00a0<strong>false<\/strong>\u00a0&#8212; \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>AddToViewport<\/strong>.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u00a0<strong>PlayerController<\/strong>\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>SetInputMode<\/strong>\u00a0\u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u00a0<strong>FInputModeDataBase<\/strong>\u00a0\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043e\u0442\u043a\u0440\u044b\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0438\u043b\u0438 \u043d\u0435\u0442.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>SetShowMouseCursor<\/strong>\u00a0\u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u043a\u043e\u0433\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0442 \u0438 \u0437\u0430\u043a\u0440\u044b\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c1f\/493\/26f\/c1f49326f5e64dae8335634f7abfd929.png\" alt=\"\" title=\"\" width=\"988\" height=\"461\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c1f\/493\/26f\/c1f49326f5e64dae8335634f7abfd929.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u043e\u0432\u044b\u0439\u00a0<strong>action mapping\u00a0<\/strong>\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>Inventory<\/strong>\u00a0\u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0448\u0443\u00a0<strong>Tab<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b0a\/36d\/21c\/b0a36d21c2dd725ce9847d27ad3637a4.png\" alt=\"\" title=\"\" width=\"497\" height=\"99\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b0a\/36d\/21c\/b0a36d21c2dd725ce9847d27ad3637a4.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>BP_SHPlayerHUD<\/strong>\u00a0\u0438 \u0443\u043a\u0430\u0436\u0435\u043c \u043d\u0430\u0448 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u0435\u0433\u043e \u0441\u0435\u0442\u043a\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c16\/f52\/379\/c16f5237949c78d305a0673b63e66c44.png\" alt=\"\" title=\"\" width=\"804\" height=\"112\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c16\/f52\/379\/c16f5237949c78d305a0673b63e66c44.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.h<\/strong>\u00a0\u0438 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c4a\/142\/1c1\/c4a1421c1bb2bacbb1078cfb95ca1a62.png\" alt=\"\" title=\"\" width=\"385\" height=\"131\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c4a\/142\/1c1\/c4a1421c1bb2bacbb1078cfb95ca1a62.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0435\u0435 \u0432\u00a0<strong>cpp \u0444\u0430\u0439\u043b\u0435<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/40d\/193\/ece\/40d193ececc33a80a38389a4eea45b0b.png\" alt=\"\" title=\"\" width=\"382\" height=\"100\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/40d\/193\/ece\/40d193ececc33a80a38389a4eea45b0b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438\u00a0<strong>protected<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043d\u0430\u0448\u00a0<strong>ASHPlayerHUD<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/731\/722\/cea\/731722cea60d19160fb561ee5e91a86d.png\" alt=\"\" title=\"\" width=\"341\" height=\"80\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/731\/722\/cea\/731722cea60d19160fb561ee5e91a86d.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 &#171;\u0433\u043e\u0432\u043e\u0440\u0438\u043c&#187; \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443, \u0447\u0442\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ddc\/007\/b08\/ddc007b08058328b7ec6488aa95ad3b9.png\" alt=\"\" title=\"\" width=\"384\" height=\"145\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ddc\/007\/b08\/ddc007b08058328b7ec6488aa95ad3b9.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.cpp<\/strong>\u00a0\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u00a0<strong>ASHPlayerHUD<\/strong>:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c10\/946\/4cd\/c109464cdb67ea0e7672160a2c27d143.png\" alt=\"\" title=\"\" width=\"401\" height=\"132\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c10\/946\/4cd\/c109464cdb67ea0e7672160a2c27d143.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c\u00a0<strong>mapping Inventory<\/strong>\u00a0\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>OpenCloseInventory<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/aa5\/4b9\/ad3\/aa54b9ad3dc82261f114bdb8879ce779.png\" alt=\"\" title=\"\" width=\"989\" height=\"310\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/aa5\/4b9\/ad3\/aa54b9ad3dc82261f114bdb8879ce779.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>OpenCloseInventory<\/strong>\u00a0\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u00a0<strong>PlayerController<\/strong>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dc2\/864\/f91\/dc2864f915d3ccb6b753b36232d1aca1.png\" alt=\"\" title=\"\" width=\"774\" height=\"82\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dc2\/864\/f91\/dc2864f915d3ccb6b753b36232d1aca1.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>Cast<\/strong>\u00a0\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>GetHUD<\/strong>\u00a0\u0443\u00a0<strong>PlayerComtroller<\/strong>\u00a0\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u00a0<strong>SHPlayerHUD<\/strong>\u00a0\u0438 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443 \u043d\u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory,\u00a0<\/strong>\u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c61\/64f\/078\/c6164f0780fb16a7c1711a8ce8b98eeb.png\" alt=\"\" title=\"\" width=\"658\" height=\"226\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c61\/64f\/078\/c6164f0780fb16a7c1711a8ce8b98eeb.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438 \u0432 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f\u00a0<strong>WBP_Inventory<\/strong>\u00a0\u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0435\u043a\u0441\u0442 &#171;\u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c&#187;:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dc9\/499\/9d7\/dc94999d700611459ffaca38addd25d4.png\" alt=\"\" title=\"\" width=\"1200\" height=\"389\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dc9\/499\/9d7\/dc94999d700611459ffaca38addd25d4.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438\u0433\u0440\u0443 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0448\u0443\u00a0<strong>Tab<\/strong>, \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u0430\u0434\u043f\u0438\u0441\u044c &#171;\u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c&#187;:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5a3\/21e\/835\/5a321e835d6b710201bb1901e847c5d0.png\" alt=\"\" title=\"\" width=\"494\" height=\"200\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5a3\/21e\/835\/5a321e835d6b710201bb1901e847c5d0.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u044c\u00a0<strong>Tab<\/strong>\u00a0\u0435\u0449\u0435 \u0440\u0430\u0437, \u043d\u0430\u0434\u043f\u0438\u0441\u044c \u0438\u0441\u0447\u0435\u0437\u043d\u0435\u0442:<\/p>\n<p>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/62ce7331a2414e6229959178\" data-style=\"\" id=\"62ce7331a2414e6229959178\" width=\"\"><\/div>\n<p><strong>\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0441\u044c:<\/strong><\/p>\n<p><em>Discord &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http%3A%2F%2Fdiscord.gg%2FCqZTXY4zwG\" rel=\"noopener noreferrer nofollow\">discord.gg\/CqZTXY4zwG<\/a><\/p>\n<p><em>VK &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/vlakugames\" rel=\"noopener noreferrer nofollow\">vk.com\/vlakugames<\/a><\/p>\n<p><em>Youtube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCfko3aWc2KsaDgX15cXaeBA&amp;cc_key=cchfQD\" rel=\"noopener noreferrer nofollow\">vk.cc\/cchfQD<\/a><\/p>\n<p><em>Rutube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=https%3A%2F%2Frutube.ru%2Fchannel%2F23334940%2F\" rel=\"noopener noreferrer nofollow\">https:\/\/rutube.ru\/channel\/23334940\/<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/676644\/\"> https:\/\/habr.com\/ru\/post\/676644\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<details class=\"spoiler\">\n<summary>\u0412\u0435\u0441\u044c \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439<\/summary>\n<div class=\"spoiler__content\">\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/675906\/\" rel=\"noopener noreferrer nofollow\">\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u0438\u043c\u043f\u043e\u0440\u0442 \u0430\u0441\u0441\u0435\u0442\u043e\u0432<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676530\/\" rel=\"noopener noreferrer nofollow\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u0438 \u043a\u0430\u043c\u0435\u0440\u043e\u0439<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676642\/\" rel=\"noopener noreferrer nofollow\">\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/676644\/\" rel=\"noopener noreferrer nofollow\">\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c(\u0427\u0430\u0441\u0442\u044c 1)<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/details>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 &#8212; <a href=\"https:\/\/www.youtube.com\/redirect?event=comments&amp;redir_token=QUFFLUhqbjVjYTdHUFlnT0hQSVRLZ2Y2VnVNS3BvSlNiZ3xBQ3Jtc0tsemY0d1lyMUk5Qng1WExDR3EyX1hRTmhXOGgxTVlnWUJPcnMwNzlnUnpISDJkeFhyTlc2MlJUY1BndUtWLUY4R091bzFHc01NRDFmOGRBR0xwdGhVMFV3aGVQWUF1SlNZY0o5LUxPdF80MmhYR2FkOA&amp;q=https%3A%2F%2Fgithub.com%2FSalamandrSpb%2FSurvivalHorror&amp;stzid=UgyjLIkJuXDmelG1LOh4AaABAg\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/SalamandrSpb\/SurvivalHorror<\/a>  <\/p>\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442.<\/p>\n<p>\u0412\u043e\u0442 \u043c\u044b \u0438 \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u041c\u044b \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u043d\u0430 \u0421++. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u0432\u0437\u044f\u043b \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0441\u00a0<a href=\"https:\/\/www.youtube.com\/c\/ReidsChannel\" rel=\"noopener noreferrer nofollow\">\u044d\u0442\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0435\u043b\u0430\u043d \u043d\u0430 Blueprints.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 HUD, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0448\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u044b.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 C++ \u043a\u043b\u0430\u0441\u0441 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>SHPlayerHUD<\/strong>\u00a0\u0432 \u043d\u043e\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>UI<\/strong>. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c\u00a0<strong>HUD<\/strong>.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043d\u043e\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Inventory<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0421++ \u043a\u043b\u0430\u0441\u0441 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>SHInventoryWidget<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442\u00a0<strong>UserWidget<\/strong>. \u0412 \u044d\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u0430 \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u043c \u0431\u043b\u044e\u043f\u0440\u0438\u043d\u0442 \u043a\u043b\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Inventory<\/strong>\u00a0\u043a\u043b\u0430\u0441\u0441 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f\u00a0<strong>SHInventoryComponent<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u00a0<strong>Actor Component<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.h<\/strong>\u00a0\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.cpp<\/strong>\u00a0\u0438 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u00a0<strong>SHInventoryComponent.h\u00a0<\/strong>\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u00a0<strong>Column<\/strong>\u00a0\u0438\u00a0<strong>Row<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u00a0<strong>Get \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/strong>\u00a0\u0432\u00a0<strong>public<\/strong>\u00a0\u0441\u0435\u043a\u0446\u0438\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u0430\u0445:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<strong>Size<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u044f\u0447\u0435\u0435\u043a:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0442\u0430\u043a\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c Get \u0444\u0443\u043d\u043a\u0446\u0438\u044e:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0431\u043b\u044e\u043f\u0440\u0438\u043d\u0442 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430, \u0442\u043e \u0443\u0432\u0438\u0434\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 \u044f\u0447\u0435\u0435\u043a \u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Inventory<\/strong>\u00a0\u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0421++ \u043a\u043b\u0430\u0441\u0441\u00a0<strong>SHInventoryGridWidget<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442\u00a0<strong>UserWidget<\/strong>.<\/p>\n<p>\u041e\u043d \u0431\u0443\u0434\u0435\u0442 &#171;\u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c&#187; \u0441\u0435\u0442\u043a\u0443 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Blueprints->Inventory<\/strong>\u00a0\u0432\u0438\u0434\u0436\u0435\u0442\u00a0<strong>WBP_InventoryGrid<\/strong>, \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u044f\u0441\u044c \u043e\u0442\u00a0<strong>SHInventoryGridWidget<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0436\u0435 \u043f\u0430\u043f\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0432\u0438\u0434\u0436\u0435\u0442\u00a0<strong>WBP_Inventory<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442\u00a0<strong>SHInventoryWidget<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0430\u043f\u043a\u0435\u00a0<strong>Blueprints<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c Blueprint \u043a\u043b\u0430\u0441\u0441\u00a0<strong>BP_SHPlayerHUD<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong>SHPlayerHUD<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u00a0<strong>BP_SHGameModeBase<\/strong>\u00a0\u0438 \u0432\u00a0<strong>HUD class<\/strong>\u00a0\u0441\u0442\u0430\u0432\u0438\u043c \u043d\u0430\u0448\u00a0<strong>BP_SHPlayerHUD<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u00a0<strong>SHPlayerHUD.h<\/strong>.<\/p>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438\u00a0<strong>protected<\/strong>\u00a0\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong>TSubClassOf<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>InventoryWidgetClass\u00a0<\/strong>\u0438\u00a0<strong>InventoryGridWidgetClass<\/strong>, \u0432 \u0431\u043b\u044e\u043f\u0440\u0438\u043d\u0442\u0435\u00a0<strong>BP_SHPlayerHUD\u00a0<\/strong>\u043c\u044b \u0443\u043a\u0430\u0436\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0432 \u0441\u0435\u043a\u0446\u0438\u0438\u00a0<strong>protected<\/strong>\u00a0\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>BeginPlay<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory<\/strong>\u00a0\u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u00a0<strong>PlayerController\u00a0<\/strong>\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043d\u0430 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u0441\u0435\u0442\u043a\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHPlayerHUD.cpp<\/strong>\u00a0\u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b\u00a0<strong>&#171;Blueprint\/UserWidget.h&#187;, &#171;Inventory\/SHInventoryWidget.h&#187;<\/strong>,\u00a0<strong>&#171;Inventory\/SHInventoryGridWidget.h&#187;<\/strong>\u00a0\u0438\u00a0<strong>&#171;Inventory\/SHInventoryComponent.h&#187;<\/strong><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>BeginPlay<\/strong>\u00a0\u0438 \u0432 \u043d\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f c \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>CreateWidget<\/strong>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u0438\u0434\u0436\u0435\u0442 \u0434\u043b\u044f \u0441\u0435\u0442\u043a\u0438 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043c\u0438\u0440, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8212; \u044d\u0442\u043e \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory<\/strong>\u00a0\u0438 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u043b\u043e\u0433\u0438\u043a\u0443 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0433\u0434\u0430 \u0431\u044b\u043b \u043e\u0442\u043a\u0440\u044b\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u0441\u044f \u043a\u0443\u0440\u0441\u043e\u0440 \u043c\u044b\u0448\u0438 \u0438 \u043c\u044b \u043d\u0435 \u043c\u043e\u0433\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u043c\u0435\u0440\u043e\u0439.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u00a0<strong>InventoryWidget<\/strong>\u00a0\u043d\u0435 \u043f\u0443\u0441\u0442\u043e\u0439.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0438\u043b\u0438 \u043d\u0435\u0442. \u0414\u043b\u044f \u044d\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>IsInViewport<\/strong>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043e\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u00a0<strong>true<\/strong>, \u043d\u0443\u0436\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>RemoveFromParent<\/strong>, \u0430 \u0435\u0441\u043b\u0438\u00a0<strong>false<\/strong>\u00a0&#8212; \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>AddToViewport<\/strong>.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u00a0<strong>PlayerController<\/strong>\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>SetInputMode<\/strong>\u00a0\u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u00a0<strong>FInputModeDataBase<\/strong>\u00a0\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043e\u0442\u043a\u0440\u044b\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c \u0438\u043b\u0438 \u043d\u0435\u0442.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>SetShowMouseCursor<\/strong>\u00a0\u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u043a\u043e\u0433\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0442 \u0438 \u0437\u0430\u043a\u0440\u044b\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u043e\u0432\u044b\u0439\u00a0<strong>action mapping\u00a0<\/strong>\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong>Inventory<\/strong>\u00a0\u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0448\u0443\u00a0<strong>Tab<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>BP_SHPlayerHUD<\/strong>\u00a0\u0438 \u0443\u043a\u0430\u0436\u0435\u043c \u043d\u0430\u0448 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f \u0438 \u0435\u0433\u043e \u0441\u0435\u0442\u043a\u0438:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.h<\/strong>\u00a0\u0438 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0435\u0435 \u0432\u00a0<strong>cpp \u0444\u0430\u0439\u043b\u0435<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438\u00a0<strong>protected<\/strong>\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043d\u0430\u0448\u00a0<strong>ASHPlayerHUD<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 &#171;\u0433\u043e\u0432\u043e\u0440\u0438\u043c&#187; \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443, \u0447\u0442\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432\u00a0<strong>SHCharacter.cpp<\/strong>\u00a0\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u00a0<strong>ASHPlayerHUD<\/strong>:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c\u00a0<strong>mapping Inventory<\/strong>\u00a0\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>OpenCloseInventory<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0442\u0435\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>OpenCloseInventory<\/strong>\u00a0\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u00a0<strong>PlayerController<\/strong>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>Cast<\/strong>\u00a0\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong>GetHUD<\/strong>\u00a0\u0443\u00a0<strong>PlayerComtroller<\/strong>\u00a0\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u00a0<strong>SHPlayerHUD<\/strong>\u00a0\u0438 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443 \u043d\u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>OpenCloseInventory,\u00a0<\/strong>\u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438 \u0432 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044f\u00a0<strong>WBP_Inventory<\/strong>\u00a0\u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0435\u043a\u0441\u0442 &#171;\u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c&#187;:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438\u0433\u0440\u0443 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0448\u0443\u00a0<strong>Tab<\/strong>, \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u0430\u0434\u043f\u0438\u0441\u044c &#171;\u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c&#187;:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u044c\u00a0<strong>Tab<\/strong>\u00a0\u0435\u0449\u0435 \u0440\u0430\u0437, \u043d\u0430\u0434\u043f\u0438\u0441\u044c \u0438\u0441\u0447\u0435\u0437\u043d\u0435\u0442:<\/p>\n<p>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/62ce7331a2414e6229959178\" data-style=\"\" id=\"62ce7331a2414e6229959178\" width=\"\"><\/div>\n<p><strong>\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0441\u044c:<\/strong><\/p>\n<p><em>Discord &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http%3A%2F%2Fdiscord.gg%2FCqZTXY4zwG\" rel=\"noopener noreferrer nofollow\">discord.gg\/CqZTXY4zwG<\/a><\/p>\n<p><em>VK &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/vlakugames\" rel=\"noopener noreferrer nofollow\">vk.com\/vlakugames<\/a><\/p>\n<p><em>Youtube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=http%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCfko3aWc2KsaDgX15cXaeBA&amp;cc_key=cchfQD\" rel=\"noopener noreferrer nofollow\">vk.cc\/cchfQD<\/a><\/p>\n<p><em>Rutube &#8212;\u00a0<\/em><a href=\"https:\/\/vk.com\/away.php?to=https%3A%2F%2Frutube.ru%2Fchannel%2F23334940%2F\" rel=\"noopener noreferrer nofollow\">https:\/\/rutube.ru\/channel\/23334940\/<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/676644\/\"> https:\/\/habr.com\/ru\/post\/676644\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-335650","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=335650"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335650\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=335650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=335650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=335650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}