{"id":1360,"date":"2024-02-05T00:23:06","date_gmt":"2024-02-04T20:53:06","guid":{"rendered":"https:\/\/mabioca.com\/pa\/?p=1360"},"modified":"2024-11-26T13:51:08","modified_gmt":"2024-11-26T10:21:08","slug":"use-array-rotating-fans","status":"publish","type":"post","link":"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/","title":{"rendered":"\u06f3- \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0631\u0627\u06cc\u0647"},"content":{"rendered":"\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-bca59cc\" data-block-id=\"bca59cc\"><p class=\"stk-block-text__text\">\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0647\u062f\u0641\u0645 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0622\u0631\u0627\u06cc\u0647 \u0631\u0648 \u062f\u0631 \u06cc\u0647 \u067e\u0631\u0648\u0698\u0647\u200c\u06cc \u0633\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0645 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u062f\u0634 \u0645\u0634\u062e\u0635 \u0628\u0634\u0647 \u0648\u0644\u06cc \u0627\u06cc\u0646 \u0631\u0648 \u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0627\u062f\u0627\u0645\u0647 \u0633\u0647 \u0646\u0648\u0634\u062a\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc\u0647 \u067e\u0633 \u0627\u06af\u0647 \u0627\u0648\u0646\u0647\u0627 \u0631\u0648 \u0646\u062e\u0648\u0646\u062f\u06cc\u062f \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u06cc\u0646\u062c\u0627 \u0645\u06cc\u200c\u062e\u0648\u0646\u06cc\u062f \u0627\u062d\u062a\u0645\u0627\u0644\u0646 \u06af\u06cc\u062c \u06a9\u0646\u0646\u062f\u0647 \u0628\u0627\u0634\u0647 \u067e\u0633 \u0627\u0648\u0644 <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9<\/a> \u0631\u0648 \u0628\u0639\u062f <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material-with-button\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material-with-button\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9<\/a> \u0631\u0648 \u0628\u062e\u0648\u0646\u06cc\u062f \u0648 \u0627\u06af\u0647 \u0641\u06a9\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0644\u0627\u0632\u0645\u0647 \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u062a\u062f \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0648\u0646\u06cc\u062f <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/unity-methods\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/unity-methods\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9<\/a> \u0631\u0648 \u0628\u062e\u0648\u0646\u06cc\u062f. \u0637\u0628\u0642 \u0631\u0648\u0646\u062f\u06cc \u0647\u0645 \u06a9\u0647 \u062a\u0627 \u0627\u0644\u0627\u0646 \u062f\u0627\u0634\u062a\u06cc\u0645 \u0641\u0627\u06cc\u0644 \u067e\u0631\u0648\u0698\u0647 \u0631\u0648 \u0628\u0647 \u06af\u06cc\u062a \u0647\u0627\u0628 \u0622\u067e\u0644\u0648\u062f \u06a9\u0631\u062f\u0645 \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u0627\u0648\u0646 \u0631\u0648 \u0627\u0632 <a href=\"https:\/\/github.com\/mabioca\/Scripts\/tree\/main\" data-type=\"link\" data-id=\"https:\/\/github.com\/mabioca\/Scripts\/tree\/main\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9<\/a> \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u0628\u0627 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 <a href=\"https:\/\/desktop.github.com\/\" data-type=\"link\" data-id=\"https:\/\/desktop.github.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u06af\u06cc\u062a \u0647\u0627\u0628 \u062f\u0633\u06a9\u062a\u0627\u067e<\/a> \u0628\u0627\u0632\u0634 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0647\u062a\u0631\u0647 \u0686\u0648\u0646 \u0622\u067e\u062f\u06cc\u062a\u200c\u0647\u0627\u06cc \u0628\u0639\u062f\u06cc \u0631\u0648 \u0647\u0645 \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u0631\u0627\u062d\u062a \u0628\u06af\u06cc\u0631\u06cc\u062f. \u0627\u0633\u0645 \u0641\u0627\u06cc\u0644 \u0647\u0645 SpeedControlArray \ufeea \u06a9\u0647 \u062f\u0631 \u067e\u0648\u0634\u0647\u200c\u06cc Scenes \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-ce3ab72\" data-block-id=\"ce3ab72\"><p class=\"stk-block-text__text\">\u0627\u0645\u0627 \u062f\u0627\u0633\u062a\u0627\u0646 \u0686\u06cc\u0647\u061f \u062f\u0631 \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647 \u0642\u0631\u0627\u0631\u0647 \u06a9\u062f\u0647\u0627\u06cc\u06cc \u0631\u0648 \u0628\u0646\u0648\u06cc\u0633\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0648 \u0628\u0647 \u0645\u0627 \u0628\u062f\u0647 \u06a9\u0647 \u0647\u0631 \u062a\u0639\u062f\u0627\u062f \u0645\u0648\u0636\u0648\u0639 \u0631\u0648 \u06a9\u0647 \u0644\u0627\u0632\u0645 \u062f\u06cc\u062f\u06cc\u0645 \u0628\u0647\u0634 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u062a\u0648\u0646\u06cc\u0645 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u0627\u0648\u0646\u0647\u0627 \u0628\u062f\u06cc\u0645 \u0645\u062b\u0644 \u0639\u0648\u0636 \u06a9\u0631\u062f\u0646 \u0631\u0646\u06af \u0627\u0648\u0646\u0647\u0627 \u0648 \u0633\u0631\u0639\u062a \u0648 \u062c\u0647\u062a \u0686\u0631\u062e\u0634 \u0634\u0648\u0646 \u0631\u0648 \u0647\u0645 \u0628\u062a\u0648\u0646\u06cc\u0645 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u06cc\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-e2ac582\" data-block-id=\"e2ac582\"><p class=\"stk-block-text__text\">\u0627\u0628\u062a\u062f\u0627 \u0628\u0627 \u06cc\u06a9 \u0645\u062f\u0644\u200c \u0634\u0631\u0648\u0639 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u06cc\u06a9\u06cc \u0627\u0632 \u0641\u0646\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0635\u062d\u0646\u0647 \u0647\u0633\u062a \u0645\u062b\u0644\u0627 \u0641\u0646 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9 \u0631\u0648 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u0631 \u0646\u0638\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645. \u062f\u0631 \u0642\u0633\u0645\u062a Assets \u06cc\u0647 \u0633\u06a9\u0631\u06cc\u067e\u062a \u062c\u062f\u06cc\u062f \u0645\u06cc\u200c\u0633\u0627\u0632\u06cc\u0645 \u0648 \u0627\u0633\u0645 SpeedControl \u0631\u0648 \u0628\u0647\u0634 \u0645\u06cc\u200c\u062f\u06cc\u0645 \u0648 \u0628\u0639\u062f \u0627\u0648\u0646 \u0631\u0648 \u062f\u0631 \u0648\u06cc\u0698\u0648\u0627\u0644 \u0627\u0633\u062a\u0648\u062f\u06cc\u0648 \u0628\u0627\u0632 \u0648 \u0633\u0647 \u0645\u062a\u063a\u06cc\u0631 \u0632\u06cc\u0631 \u0631\u0648 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-blur-enabled fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code !important\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code !important,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class speedcntltest : MonoBehaviour\n{\n    public GameObject rotatingFans;\n    public Color colorField;\n    public float fanRotationSpeed;\n    \n    void Start()\n    {\n        \n    }\n\n    void Update()\n    {\n        \n    }\n}\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #AF00DB\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">System<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #267F99\">Collections<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">System<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #267F99\">Collections<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #267F99\">Generic<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">UnityEngine<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">class<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">speedcntltest<\/span><span style=\"color: #000000\"> : <\/span><span style=\"color: #267F99\">MonoBehaviour<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">GameObject<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">Color<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Start<\/span><span style=\"color: #000000\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    }<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Update<\/span><span style=\"color: #000000\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-c52d829\" data-block-id=\"c52d829\"><p class=\"stk-block-text__text\">\u0627\u0632 \u0645\u062a\u063a\u06cc\u0631 \u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0686\u0631\u062e\u0634 \u0645\u062f\u0644 \u0641\u0646\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u0628\u0647 \u0627\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u06a9\u0647 \u062a\u0642\u0631\u06cc\u0628\u0627 \u0647\u0631 \u0686\u06cc\u0632\u06cc \u062f\u0631 \u0635\u062d\u0646\u0647\u200c\u06cc \u06cc\u0648\u0646\u06cc\u062a\u06cc \u06cc\u0647 GameObject \ufeea \u067e\u0633 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u0646\u062f\u0647 \u0686\u0631\u062e\u0634 \u0645\u062f\u0644 \u0641\u0646 \u0627\u0633\u0645 \u06a9\u0644\u0627\u0633 GameObject \u0631\u0648 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u06cc\u0645 \u0648 \u0628\u0639\u062f \u0627\u0633\u0645 \u0645\u062a\u063a\u06cc\u0631. \u0627\u06cc\u0646 \u06a9\u0647 \u0645\u06cc\u200c\u06af\u0645 \u0647\u0631 \u0686\u06cc\u0632\u06cc \u062f\u0631 \u0635\u062d\u0646\u0647\u200c\u06cc \u06cc\u0648\u0646\u06cc\u062a\u06cc \u06cc\u0647 GameObject \ufeea \u0631\u0648 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0634\u0627\u0628\u0647 System.Object \u062f\u0631 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u062f\u0627\u062a\u200c\u0646\u062a \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u0627\u0648\u0646 \u0647\u0631 \u0686\u06cc\u0632\u06cc \u0627\u0632 System.Object \u0645\u06cc\u0627\u062f \u062f\u0631 \u0635\u062d\u0646\u0647 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0647\u0645 GameObject \u06cc\u0647 \u06a9\u0644\u0627\u0633\u0647 \u067e\u0627\u06cc\u0647\u200c \u0628\u0631\u0627\u06cc \u0647\u0645\u0647 \u0645\u0648\u0636\u0648\u0639\u0627\u062a\u0647. \u062f\u0631 \u0646\u0645\u0648\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0627\u0633\u0645 \u062a\u0639\u062f\u0627\u062f\u06cc \u0627\u0632 \u0645\u0647\u0645\u062a\u0631\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639\u0627\u062a \u06cc\u0648\u0646\u06cc\u062a\u06cc \u06a9\u0647 \u0627\u0632 \u06a9\u0644\u0627\u0633 GameObject \u0628\u062f\u0633\u062a \u0645\u06cc\u0627\u0646 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u06a9\u0647 \u0627\u0644\u0628\u062a\u0647 \u062a\u0639\u062f\u0627\u062f\u0634\u0648\u0646 \u0628\u06cc\u0634\u062a\u0631\u0647:<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-ae45d3e\" data-block-id=\"ae45d3e\"><figure><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1371\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/GameObjects-v1.png\" width=\"750\" height=\"321\" alt=\"Game Objects diagram\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/GameObjects-v1.png 750w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/GameObjects-v1-300x128.png 300w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/GameObjects-v1-500x214.png 500w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-899a17d\" data-block-id=\"899a17d\"><p class=\"stk-block-text__text\">\u062e\u0637 \u0634\u0645\u0627\u0631\u0647 \u0647\u0634\u062a \u0642\u0631\u0627\u0631\u0647 \u06cc\u0647 \u0641\u06cc\u0644\u062f \u0631\u0648 \u0628\u0647 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u0647 \u06a9\u0647 \u0628\u062a\u0648\u0646\u06cc\u0645 \u0628\u0627\u0647\u0627\u0634 \u0631\u0646\u06af \u0631\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0646\u0648\u0634\u062a\u0647 \u0642\u0628\u0644\u06cc \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645. \u062e\u0637 \u0646\u0647\u0645 \u0647\u0645 \u06cc\u0647 \u0645\u062a\u063a\u06cc\u0631 \u0627\u0632 \u0646\u0648\u0639 \u0627\u0639\u0634\u0627\u0631\u06cc\u0647 \u06a9\u0647 \u0642\u0631\u0627\u0631\u0647 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0641\u0646\u200c\u0647\u0627 \u0631\u0648 \u0628\u0627\u0647\u0627\u0634 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u06cc\u0645. \u0647\u0631 \u0633\u0647\u200c\u06cc \u0627\u06cc\u0646 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc\u200e\u0634\u0648\u0646 \u0627\u0632 \u0646\u0648\u0639 public \ufeea \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0628\u0647\u0634\u0648\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-d2c7e89\" data-block-id=\"d2c7e89\"><p class=\"stk-block-text__text\">\u062a\u0627 \u0627\u06cc\u0646\u062c\u0627 \u0631\u0648 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0631\u06af\u0631\u062f\u06cc\u062f \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc. \u062f\u0631 \u0642\u0633\u0645\u062a Hierarchy \u06cc\u0647 GameObject \u0628\u0633\u0627\u0632\u06cc\u062f \u0648 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0631\u0648 \u0628\u0647\u0634 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u062f. \u0646\u062a\u06cc\u062c\u0647 \u0628\u0627\u06cc\u062f \u0645\u0634\u0627\u0628\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0628\u0627\u0634\u0647:<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-00f4a3b\" data-block-id=\"00f4a3b\"><style>.stk-00f4a3b{max-width:516px !important;margin-right:auto !important;margin-left:auto !important}<\/style><figure><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1383\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-variables.png\" width=\"516\" height=\"112\" alt=\"variables\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-variables.png 516w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-variables-300x65.png 300w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-variables-500x109.png 500w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-4ba67dd\" data-block-id=\"4ba67dd\"><p class=\"stk-block-text__text\">\u0627\u0648\u0644 \u0645\u062f\u0644 \u0641\u0646 \u0631\u0648 \u0628\u0647 \u0642\u0633\u0645\u062a Rotating Fans \u0648\u0635\u0644 \u0648 \u0628\u0639\u062f \u0633\u0647 \u062e\u0637 \u0632\u06cc\u0631 \u0631\u0648 \u0628\u0647 \u0645\u062a\u062f Update \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-blur-enabled fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code !important\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code !important,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class speedcntltest : MonoBehaviour\n{\n    public GameObject rotatingFans;\n    public Color colorField;\n    public float fanRotationSpeed;\n    \n    void Start()\n    {\n         \n    }\n\n    void Update()\n    {\n        var myFanRenderer = rotatingFans.GetComponent&lt;Renderer>();\n        myFanRenderer.material.SetColor(&quot;_Color&quot;, colorField);\n        rotatingFans.transform.Rotate(0.0f, 0.0f, fanRotationSpeed);\n    }\n}&#8221; style=&#8221;color:#000000;display:none&#8221; aria-label=&#8221;Copy&#8221; class=&#8221;code-block-pro-copy-button&#8221;><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #AF00DB\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">System<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #267F99\">Collections<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">System<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #267F99\">Collections<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #267F99\">Generic<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">UnityEngine<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">class<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">speedcntltest<\/span><span style=\"color: #000000\"> : <\/span><span style=\"color: #267F99\">MonoBehaviour<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">GameObject<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">Color<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Start<\/span><span style=\"color: #000000\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">         <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    }<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Update<\/span><span style=\"color: #000000\">()<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    {<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">        <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRenderer<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">myFanRenderer<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-b304b1b\" data-block-id=\"b304b1b\"><p class=\"stk-block-text__text\">\u0627\u06cc\u0646\u06a9\u0647 \u0686\u0631\u0627 \u0627\u06cc\u0646 \u0633\u0647 \u062e\u0637 \u0631\u0648 \u0628\u0647 Update \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645 \u0646\u0647 \u0628\u0647 \u0645\u062a\u062f Start \u062f\u0644\u06cc\u0644\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0628\u0639\u062f \u0632\u062f\u0646 \u062f\u06a9\u0645\u0647 Play \u062f\u0631 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0628\u062a\u0648\u0646\u06cc\u0645 \u0631\u0646\u06af \u0648 \u0686\u0631\u062e\u0634 \u0631\u0648 \u0647\u0645\u0686\u0646\u0627\u0646 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u06cc\u0645 \u062f\u0631 \u0636\u0645\u0646 \u062e\u0637 \u0633\u0648\u0645 \u0628\u0627\u06cc\u062f \u062f\u0631 \u0645\u062a\u062f Update \u0628\u0627\u0634\u0647 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0647 \u0686\u0631\u062e\u0634 \u062a\u062f\u0627\u0648\u0645 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0647 \u0648\u06af\u0631\u0646\u0647 \u0627\u06af\u0647 \u062f\u0631 Start \u0642\u0631\u0627\u0631\u0634 \u0628\u062f\u06cc\u062f \u0647\u0645\u0648\u0646 \u0627\u0648\u0644 \u0645\u0642\u062f\u0627\u0631\u06cc \u06a9\u0647 \u0628\u0631\u0627\u0634 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0631\u062f\u06cc\u062f \u0645\u062b\u0644\u0627 \u06f6\u06f0 \u062f\u0631\u062c\u0647 \u0627\u0648\u0646 \u0647\u0645 \u0642\u0628\u0644 \u0627\u0632 \u0641\u0631\u06cc\u0645 \u0627\u0648\u0644\u0650 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0686\u0631\u062e\u0647 \u0648 \u0628\u0639\u062f \u062b\u0627\u0628\u062a \u0645\u06cc\u200c\u0645\u0648\u0646\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-1a14381\" data-block-id=\"1a14381\"><p class=\"stk-block-text__text\">\u062f\u0631 \u0645\u0648\u0631\u062f \u062f\u0648 \u062e\u0637 \u06f1\u06f8 \u0648 \u06f1\u06f9 \u062f\u0631 \u0646\u0648\u0634\u062a\u0647\u200c\u200c\u0647\u0627\u06cc <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u0648\u0644<\/a> \u0648 <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material-with-button\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/change-the-color-of-the-material-with-button\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u062f\u0648\u0645<\/a> \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645 \u06a9\u0647 \u062e\u0628 \u06a9\u0627\u0631\u0634\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0646\u06af\u0647. \u062f\u0631 \u062e\u0637 \u0633\u0648\u0645 \u0628\u0647 \u0645\u062a\u063a\u06cc\u0631 \u0686\u0631\u062e\u0634 \u062f\u0631 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a transform \u0645\u062f\u0644\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0628\u0647 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0648\u0646 \u0648\u0635\u0644 \u06a9\u0631\u062f\u06cc\u0645 \u062f\u0627\u0631\u06cc\u0645 \u0645\u06cc\u06af\u06cc\u0645 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0686\u0631\u062e\u0634 \u0645\u062d\u0648\u0631 z \u0645\u0642\u062f\u0627\u0631 \u0648\u0627\u0631\u062f \u0634\u062f\u0647 \u062f\u0631 Fan Rotation Speed \u0631\u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646 \u06cc\u0639\u0646\u06cc \u0647\u0645\u0648\u0646 \u0645\u0642\u062f\u0627\u0631\u06cc \u06a9\u0647 \u0645\u0627 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0627\u0645\u06a9\u0627\u0646 \u062a\u0639\u06cc\u06cc\u0646 \u0634\u0648 \u062f\u0627\u0631\u06cc\u0645. \u0641\u0627\u06cc\u0644 \u0631\u0648 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0631\u06af\u0631\u062f\u06cc\u062f \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0648 \u062f\u06a9\u0645\u0647 Play \u0631\u0648 \u0628\u0632\u0646\u06cc\u062f.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-669cddf\" data-block-id=\"669cddf\"><p class=\"stk-block-text__text\">\u062a\u0646\u0647\u0627 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u06a9\u0645\u06cc \u0639\u062c\u06cc\u0628\u0647 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0645\u062f\u0644 \u0645\u0627\u0633\u062a \u06a9\u0647 \u0645\u0645\u06a9\u0646\u0647 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0634\u0645\u0627 \u0633\u0631\u0639\u062a\u0634 \u062e\u06cc\u0644\u06cc \u0632\u06cc\u0627\u062f \u0628\u0627\u0634\u0647 \u062d\u062a\u06cc \u0627\u06af\u0647 \u0639\u062f\u062f \u06cc\u06a9 \u0628\u0627\u0634\u0647. \u0627\u0648\u0646 \u0647\u0645 \u062f\u0644\u06cc\u0644\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0627\u06cc\u0646\u062c\u0627 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0632\u0645\u0627\u0646 \u0648\u0627\u0642\u0639\u06cc \u0645\u062b\u0644\u0627 \u06cc\u06a9 \u062f\u0631\u062c\u0647 \u0628\u0631 \u062b\u0627\u0646\u06cc\u0647 \u0646\u06cc\u0633\u062a \u0628\u0644\u06a9\u0647 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0642\u062f\u0631\u062a \u06a9\u0627\u0631\u062a \u06af\u0631\u0627\u0641\u06cc\u06a9\u0647. \u06cc\u0639\u0646\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0647\u0631 \u0642\u062f\u0631 \u06a9\u0627\u0631\u062a \u06af\u0631\u0627\u0641\u06cc\u06a9 \u0634\u0645\u0627 \u0628\u0639\u062f \u0627\u0632 \u0632\u062f\u0646 \u062f\u06a9\u0645\u0647\u200c\u06cc Play \u0641\u0631\u06cc\u0645\u200c\u0647\u0627\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u0631\u0648 \u0628\u062a\u0648\u0646\u0647 \u062f\u0631 \u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647 \u0646\u0645\u0627\u06cc\u0634 \u0628\u062f\u0647 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0641\u0646 \u0647\u0645 \u0628\u0647 \u0647\u0645\u0648\u0646 \u0646\u0633\u0628\u062a \u0632\u06cc\u0627\u062f \u0645\u06cc\u0634\u0647. \u0627\u06cc\u0646 \u0631\u0648 \u0628\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u06af\u0632\u06cc\u0646\u0647 Stats \u062f\u0631 \u067e\u0646\u062c\u0631\u0647 Game \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u0628\u0628\u06cc\u0646\u06cc\u062f.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-c6d2e4d\" data-block-id=\"c6d2e4d\"><style>.stk-c6d2e4d{max-width:524px !important;margin-right:auto !important;margin-left:auto !important}<\/style><figure><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1408\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-graphicCardStats-v1.png\" width=\"524\" height=\"308\" alt=\"stats in Game mode\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-graphicCardStats-v1.png 524w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-graphicCardStats-v1-300x176.png 300w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-graphicCardStats-v1-500x294.png 500w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-cc01497\" data-block-id=\"cc01497\"><p class=\"stk-block-text__text\">\u0628\u0631\u0627\u06cc \u062d\u0644\u0634 \u0628\u0627\u06cc\u062f \u0639\u062f\u062f \u0686\u0631\u062e\u0634 \u0645\u0627 \u062f\u0631 \u0686\u06cc\u0632\u06cc \u0628\u0647 \u0627\u0633\u0645 Time.deltaTime \u0636\u0631\u0628 \u0628\u0634\u0647. \u062d\u0627\u0644\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0634 \u0686\u06cc\u0647\u061f \u06a9\u0627\u0631\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u062d\u0633\u0627\u0628 \u0645\u06cc\u200c\u06a9\u0646\u0647 \u0628\u0628\u06cc\u0646\u0647 \u0627\u0632 \u0641\u0631\u06cc\u0645 \u0642\u0628\u0644 \u062a\u0627 \u0641\u0631\u0645 \u062c\u0627\u0631\u06cc \u0686\u0642\u062f\u0631 \u0632\u0645\u0627\u0646 \u0628\u0631 \u0627\u0633\u0627\u0633 \u062b\u0627\u0646\u06cc\u0647 \u06af\u0630\u0634\u062a\u0647 \u06a9\u0647 \u0627\u06cc\u0646 \u0639\u062f\u062f \u0645\u0639\u0645\u0648\u0644\u0646 \u06a9\u0648\u0686\u06a9\u062a\u0631 \u0627\u0632 \u0635\u0641\u0631\u0647 \u0648 \u062b\u0627\u0628\u062a \u0646\u06cc\u0633\u062a \u0648 \u0647\u0631 \u0642\u062f\u0631 \u06a9\u0627\u0631\u062a \u06af\u0631\u0627\u0641\u06cc\u06a9 \u0642\u0648\u06cc\u062a\u0631 \u0628\u0627\u0634\u0647 \u0639\u062f\u062f \u06a9\u0648\u0686\u06a9\u062a\u0631\u0647. \u0627\u06af\u0647 \u0627\u06cc\u0646 \u0639\u062f\u062f \u0631\u0648 \u062f\u0631 \u0645\u0642\u062f\u0627\u0631 \u0686\u0631\u062e\u0634 \u0645\u062b\u0644\u0627 \u06cc\u06a9 \u062f\u0631\u062c\u0647 \u0636\u0631\u0628 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0645\u062f\u0644 \u0645\u0627 \u062f\u0631 \u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647 \u06cc\u06a9 \u062f\u0631\u062c\u0647 \u0628\u0686\u0631\u062e\u0647 \u0645\u06cc\u0632\u0627\u0646 \u0686\u0631\u062e\u0634 \u0628\u0631\u0627\u06cc \u0647\u0631 \u0641\u0631\u06cc\u0645 \u0645\u0634\u062e\u0635 \u0645\u06cc\u0634\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-start:20;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"rotatingFans.transform.Rotate(0.0f, 0.0f, fanRotationSpeed * Time.deltaTime);\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\"> * <\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-ad68a52\" data-block-id=\"ad68a52\"><p class=\"stk-block-text__text\">\u062a\u0627 \u0627\u06cc\u0646\u062c\u0627 \u06a9\u0627\u0631\u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u06cc\u0647 \u0645\u062f\u0644 \u0631\u0648 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u06cc\u0645 \u0648\u0644\u06cc \u0628\u0631\u0627\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 \u06cc\u0647 \u0645\u062f\u0644 \u0686\u06cc\u061f \u06cc\u0647 \u0631\u0627\u0647 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0628\u0647 \u062a\u0639\u062f\u0627\u062f \u0645\u062f\u0644\u200c\u0647\u0627\u06cc \u0635\u062d\u0646\u0647 \u0628\u0647 \u062e\u0637\u200c\u0647\u0627\u06cc \u06a9\u062f&nbsp;\u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645 \u0645\u062b\u0644\u0627 \u0627\u0644\u0627\u0646 \u06a9\u0647 \u067e\u0646\u062c \u062e\u0637 \u062f\u0627\u0631\u06cc\u0645 \u0628\u0631\u0627\u06cc \u0633\u0647 \u0645\u062f\u0644 \u0628\u0627\u0642\u06cc \u0645\u0648\u0646\u062f\u0647 \u06f1\u06f5 \u062e\u0637 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645 \u0648 \u0641\u0642\u0637 \u0627\u0633\u0645\u0647\u0627 \u0631\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u0645. \u0627\u06af\u0647 \u0645\u062f\u0644\u200c\u0647\u0627 \u0628\u06cc\u0634\u062a\u0631 \u0634\u062f \u0686\u06cc\u061f \u062e\u0628 \u0627\u06cc\u0646 \u0645\u0634\u062e\u0635\u0647 \u06a9\u0647 \u062f\u0631\u0633\u062a \u0646\u06cc\u0633\u062a. \u0627\u06cc\u0646\u062c\u0627\u0633\u062a \u06a9\u0647 \u0622\u0631\u0627\u06cc\u0647 \u06cc\u0627 \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc\u0634 Array \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u0634\u0648\u062f. \u06a9\u0627\u0631\u0628\u0631\u062f\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc \u06cc\u0647 \u0686\u06cc\u0632 \u06cc\u0647 \u062a\u0639\u062f\u0627\u062f \u0627\u0632 \u06cc\u0647 \u0686\u06cc\u0632\u06cc \u0631\u0648 \u0645\u06cc\u0634\u0647 \u062a\u0648\u0634 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f \u0645\u062b\u0644\u0627 \u0628\u0647 \u062c\u0627\u06cc \u06cc\u0647 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u06cc\u0647 \u062a\u0639\u062f\u0627\u062f \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0645\u062a\u0641\u0627\u0648\u062a \u062f\u0627\u062e\u0644\u0634 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u0645 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u0633\u0627\u062f\u06af\u06cc. \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0644\u0627\u0646 \u062f\u0627\u0631\u06cc\u0645 \u0628\u0647 \u0646\u0648\u0639 \u0622\u0631\u0627\u06cc\u0647\u200c\u0627\u06cc \u06a9\u0627\u0641\u06cc\u0647 \u0628\u0639\u062f \u0627\u0632 \u062a\u0639\u06cc\u06cc\u0646 \u0646\u0648\u0639 \u0645\u062a\u063a\u06cc\u0631 \u062f\u0648 \u0639\u0644\u0627\u0645\u062a \u0628\u0631\u0627\u06a9\u062a \u0628\u0627\u0632 \u0648 \u0628\u0633\u062a\u0647 \u0628\u0632\u0627\u0631\u06cc\u062f \u0645\u062b\u0644 \u0646\u0645\u0648\u0646\u0647 \u0632\u06cc\u0631:<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-start:7;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"public GameObject[] rotatingFans;\npublic Color[] colorField;\npublic float[] fanRotationSpeed;\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">GameObject<\/span><span style=\"color: #000000\">[] <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">Color<\/span><span style=\"color: #000000\">[] <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\">[] <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-4ffe51d\" data-block-id=\"4ffe51d\"><p class=\"stk-block-text__text\">\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u062c\u0627\u06cc \u06f1\u06f2 \u062e\u0637 \u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0686\u0647\u0627\u0631 \u0645\u062f\u0644 \u0641\u0646 \u0641\u0642\u0637 \u0633\u0647 \u062e\u0637 \u062f\u0627\u0631\u06cc\u0645 \u0648\u0644\u06cc \u062d\u0627\u0644\u0627 \u0627\u06af\u0647 \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u062e\u0637\u200c\u0647\u0627\u06cc \u062f\u0627\u062e\u0644 Update \u062e\u0637\u0627\u0647\u0627\u06cc\u06cc \u0631\u0648 \u0646\u0634\u0648\u0646 \u0645\u06cc\u062f\u0646. \u062f\u0644\u06cc\u0644\u0634 \u0647\u0645 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0646\u0648\u0639 \u0645\u062a\u063a\u06cc\u0631 \u0627\u0648\u0646\u0647\u0627 \u0628\u0627 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u0645\u062a\u0641\u0627\u0648\u062a\u0647. \u0641\u06a9\u0631 \u06a9\u0646\u0645 \u062f\u0631\u0633\u062a \u062d\u062f\u0633 \u0632\u062f\u06cc\u062f \u0628\u0647 \u0627\u0648\u0646\u0647\u0627 \u0647\u0645 \u0628\u0627\u06cc\u062f \u062f\u0648 \u062a\u0627 \u0628\u0631\u0627\u06a9\u062a \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645 \u0648\u0644\u06cc \u0628\u0639\u062f \u0627\u0632 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0628\u0631\u0627\u06a9\u062a\u200c\u0647\u0627 \u06cc\u0647 \u062e\u0637\u0627\u06cc \u06a9\u0648\u0686\u06cc\u06a9 \u0632\u06cc\u0631 \u0627\u0648\u0646\u0647\u0627 \u0628\u0627\u0642\u06cc \u0645\u06cc\u200c\u0645\u0648\u0646\u0647. \u0627\u06af\u0647 \u062f\u0627\u062e\u0644 \u0628\u0631\u0627\u06a9\u062a\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646 \u0633\u0647 \u062e\u0637 \u06f1\u06f8\u060c \u06f1\u06f9 \u0648 \u06f2\u06f0 \u0645\u062b\u0644\u0627 \u0635\u0641\u0631 \u0628\u0632\u0627\u0631\u06cc\u0645 \u0645\u0634\u06a9\u0644 \u062d\u0644 \u0645\u06cc\u0634\u0647 \u0648\u0644\u06cc \u0686\u0631\u0627\u061f \u062f\u0644\u06cc\u0644\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0648\u0642\u062a\u06cc \u06cc\u0647 \u0645\u062a\u063a\u06cc\u0631 \u0622\u0631\u0627\u06cc\u0647\u200c\u0627\u06cc \u0645\u062b\u0644\u0627 \u0627\u0632 \u0646\u0648\u0639 GameObject \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0645\u062a\u063a\u06cc\u0631 \u0645\u0627 \u0627\u0633\u0645 \u0647\u0631 \u06a9\u062f\u0648\u0645 \u0627\u0632 \u0645\u062f\u0644\u200c\u0647\u0627 \u0631\u0648 \u0645\u06cc\u0627\u062f \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628\u06cc \u06a9\u0647 \u0628\u0647\u0634 \u0646\u0633\u0628\u062a \u062f\u0627\u062f\u06cc\u0645 \u062f\u0627\u062e\u0644 \u062e\u0648\u062f\u0634 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0647 \u0645\u062b\u0644\u0627 \u0627\u0633\u0645 \u0645\u062f\u0644 \u0627\u0648\u0644 \u0631\u0648 \u062f\u0631 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0634\u0645\u0627\u0631\u0647 \u0635\u0641\u0631 (\u0647\u0645\u06cc\u0634\u0647 \u0627\u0648\u0644\u06cc\u0646 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0622\u0631\u0627\u06cc\u0647 \u0628\u0627 \u0634\u0645\u0627\u0631\u0647 \u0635\u0641\u0631 \u0634\u0631\u0648\u0639 \u0645\u06cc\u0634\u0647) \u0648 \u0627\u0633\u0645 \u0645\u062f\u0644 \u062f\u0648\u0645 \u0631\u0648 \u062f\u0631 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9 \u0648 \u0628\u0642\u06cc\u0647 \u0631\u0648 \u0647\u0645 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 \u062c\u0627\u06af\u0630\u0627\u0631\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0647 \u062d\u0627\u0644\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0628\u06af\u06cc\u0645 \u06a9\u062f\u0648\u0645 \u0645\u062f\u0644 \u06cc\u0647 \u06a9\u0627\u0631\u06cc \u0631\u0648\u0634 \u0627\u0646\u062c\u0627 \u0628\u0634\u0647 \u062f\u0627\u062e\u0644 \u0628\u0631\u0627\u06a9\u062a\u200c\u0647\u0627 \u0634\u0645\u0627\u0631\u0647 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0631\u0648 \u0645\u06cc\u200c\u0646\u0648\u06cc\u0633\u06cc\u0645. \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0635\u0641\u0631 \u0631\u0648 \u0645\u06cc\u200c\u0632\u0627\u0631\u06cc\u062f \u062f\u0627\u062e\u0644 \u0628\u0631\u0627\u06a9\u062a\u200c\u0647\u0627 \u0648\u06cc\u0698\u0648\u0627\u0644 \u0627\u0633\u062a\u0648\u062f\u06cc\u0648 \u062f\u06cc\u06af\u0647 \u062e\u0637\u0627 \u0646\u0645\u06cc\u200c\u062f\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-start:18;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"var myFanRenderer = rotatingFans[0].GetComponent&lt;Renderer>();\nmyFanRenderer.material.SetColor(&quot;_Color&quot;, colorField[0]);\nrotatingFans[0].transform.Rotate(0.0f, 0.0f, fanRotationSpeed[0]*Time.deltaTime);&#8221; style=&#8221;color:#000000;display:none&#8221; aria-label=&#8221;Copy&#8221; class=&#8221;code-block-pro-copy-button&#8221;><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRenderer<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">myFanRenderer<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">]);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">]*<\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-7e4c3a9\" data-block-id=\"7e4c3a9\"><p class=\"stk-block-text__text\">\u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0631\u06af\u0631\u062f\u06cc\u062f \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0631\u062f\u0646 \u0648 \u062c\u0644\u0648\u06cc \u0647\u0631 \u06a9\u062f\u0648\u0645 \u06cc\u0647 \u0645\u0642\u062f\u0627\u0631 \u0635\u0641\u0631\u0647 \u06a9\u0647 \u062f\u0631 \u0627\u0635\u0644 \u062a\u0639\u062f\u0627\u062f \u062c\u0627\u06cc\u06af\u0627\u0647\u200c\u0647\u0627 \u0631\u0648 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u06a9\u0646\u0647. \u0686\u0648\u0646 \u0686\u0647\u0627\u0631 \u0645\u062f\u0644\u060c \u0686\u0647\u0627\u0631 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 \u0631\u0646\u06af \u0648 \u0686\u0647\u0627\u0631 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0645\u06cc\u200c\u062e\u0648\u0627\u06cc\u0645 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645 \u0647\u0631 \u0633\u0647 \u0631\u0648 \u0686\u0647\u0627\u0631 \u0628\u062f\u06cc\u062f.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-f78317e\" data-block-id=\"f78317e\"><style>.stk-f78317e{max-width:467px !important;margin-right:auto !important;margin-left:auto !important}<\/style><figure><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1417\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-newVariables.png\" width=\"467\" height=\"112\" alt=\"new Variables\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-newVariables.png 467w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-newVariables-300x72.png 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-f5b64ef\" data-block-id=\"f5b64ef\"><p class=\"stk-block-text__text\">\u0628\u0639\u062f \u0627\u0632 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0642\u062f\u0627\u0631 \u0635\u0641\u0631 \u0628\u0647 \u0686\u0647\u0627\u0631 \u0628\u0631\u0627\u06cc \u0647\u0631 \u0645\u062a\u063a\u06cc\u0631 \u0686\u0647\u0627\u0631 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u0647<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-4263c30\" data-block-id=\"4263c30\"><style>.stk-4263c30{max-width:467px !important;margin-right:auto !important;margin-left:auto !important}<\/style><figure><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1419\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-newVariables-size.png\" width=\"467\" height=\"457\" alt=\"new Variables\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-newVariables-size.png 467w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-newVariables-size-300x294.png 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-1d02f72\" data-block-id=\"1d02f72\"><p class=\"stk-block-text__text\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u062f\u0644 \u0641\u0646\u200c\u0647\u0627 \u0631\u0648 \u0628\u0647 \u0642\u0633\u0645\u062a Rotating Fans \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u06cc\u0647 \u0631\u0646\u06af \u0648 \u06cc\u0647 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u062f\u0644\u062e\u0648\u0627\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 \u06a9\u062f\u0648\u0645 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u06cc\u062f. \u062f\u06a9\u0645\u0647 Play \u0631\u0648 \u0628\u0632\u0646\u06cc\u062f. \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u062a\u0646\u0647\u0627 \u06cc\u06a9\u06cc \u0627\u0632 \u0641\u0646\u200c\u0647\u0627 \u062f\u0627\u0631\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0647. \u06cc\u0647 \u0631\u0627\u0647 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0645\u062b\u0644 \u0646\u0645\u0648\u0646\u0647 \u067e\u0627\u06cc\u06cc\u0646 \u062e\u0637\u200c\u0647\u0627 \u0631\u0648 \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0641\u0642\u0637 \u0634\u0645\u0627\u0631\u0647 \u062c\u0627\u06cc\u06af\u0627\u0647\u200c\u0647\u0627 \u0631\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-start:16;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"void Update()\n{\n    var myFanRendererA = rotatingFans[0].GetComponent&lt;Renderer>();\n    myFanRendererA.material.SetColor(&quot;_Color&quot;, colorField[0]);\n    rotatingFans[0].transform.Rotate(0.0f, 0.0f, fanRotationSpeed[0] * Time.deltaTime);\n\n    var myFanRendererB = rotatingFans[1].GetComponent&lt;Renderer>();\n    myFanRendererB.material.SetColor(&quot;_Color&quot;, colorField[1]);\n    rotatingFans[1].transform.Rotate(0.0f, 0.0f, fanRotationSpeed[1] * Time.deltaTime);\n\n    var myFanRendererC = rotatingFans[2].GetComponent&lt;Renderer>();\n    myFanRendererC.material.SetColor(&quot;_Color&quot;, colorField[2]);\n    rotatingFans[2].transform.Rotate(0.0f, 0.0f, fanRotationSpeed[2] * Time.deltaTime);\n\n    var myFanRendererD = rotatingFans[3].GetComponent&lt;Renderer>();\n    myFanRendererD.material.SetColor(&quot;_Color&quot;, colorField[3]);\n    rotatingFans[3].transform.Rotate(0.0f, 0.0f, fanRotationSpeed[3] * Time.deltaTime);\n}&#8221; style=&#8221;color:#000000;display:none&#8221; aria-label=&#8221;Copy&#8221; class=&#8221;code-block-pro-copy-button&#8221;><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Update<\/span><span style=\"color: #000000\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRendererA<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">myFanRendererA<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">]);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">] * <\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRendererB<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">myFanRendererB<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">]);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">] * <\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRendererC<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">2<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">myFanRendererC<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">2<\/span><span style=\"color: #000000\">]);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">2<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">2<\/span><span style=\"color: #000000\">] * <\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRendererD<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">3<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">myFanRendererD<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">3<\/span><span style=\"color: #000000\">]);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">3<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #098658\">3<\/span><span style=\"color: #000000\">] * <\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-9b9dfa9\" data-block-id=\"9b9dfa9\"><p class=\"stk-block-text__text\">\u0647\u0631 \u0686\u0646\u062f \u0631\u0648\u0634 \u062e\u0648\u0628\u06cc \u0646\u06cc\u0633\u062a \u0648 \u0633\u0647 \u062e\u0637 \u06a9\u062f \u0645\u0627 \u0628\u0647 \u06f1\u06f2 \u062e\u0637 \u0627\u0641\u0632\u0627\u06cc\u0634 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f \u0648\u0644\u06cc \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0647. \u0648\u0644\u06cc \u0631\u0648\u0634 \u0628\u0647\u062a\u0631 \u0686\u06cc\u0647\u061f \u0631\u0648\u0634 \u0628\u0647\u062a\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0645\u06a9\u0627\u0646\u06cc\u0647 \u0628\u0647 \u0627\u0633\u0645 \u062d\u0644\u0642\u0647 \u0641\u064f\u0631 \u06cc\u0627 For Loop \u06a9\u0647 \u062e\u0637\u200c\u0647\u0627\u06cc \u06a9\u062f \u062f\u0627\u062e\u0644 \u062e\u0648\u062f\u0634 \u0631\u0648 \u0628\u0647 \u062a\u0639\u062f\u0627\u062f \u0645\u0634\u062e\u0635\u06cc \u0645\u062f\u0627\u0645 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u06a9\u0646\u0647. \u062a\u0648\u0636\u06cc\u062d \u06a9\u0627\u0645\u0644 \u062f\u0631 \u0645\u0648\u0631\u062f \u0644\u0648\u067e\u200c\u0647\u0627 \u0631\u0648 <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/loops-in-unity-scripts\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/loops-in-unity-scripts\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0627\u06cc\u0646\u062c\u0627<\/a> \u0628\u062e\u0648\u0646\u06cc\u062f. \u062d\u0627\u0644\u0627 \u0645\u062b\u0644 \u0646\u0645\u0648\u0646\u0647\u200c\u06cc \u0632\u06cc\u0631 \u06a9\u062f\u0647\u0627 \u0631\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u062f:<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers fontFamilyForCodePro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-start:16;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"void Update()\n{\n    for (int i = 0; i &lt; rotatingFans.Length; i++)\n    {\n        var myFanRenderer = rotatingFans[i].GetComponent&lt;Renderer>();\n        myFanRenderer.material.SetColor(&quot;_Color&quot;, colorField[i]);\n        rotatingFans[i].transform.Rotate(0.0f, 0.0f, fanRotationSpeed[i] * Time.deltaTime, Space.Self);\n    }\n}&#8221; style=&#8221;color:#000000;display:none&#8221; aria-label=&#8221;Copy&#8221; class=&#8221;code-block-pro-copy-button&#8221;><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Update<\/span><span style=\"color: #000000\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #AF00DB\">for<\/span><span style=\"color: #000000\"> (<\/span><span style=\"color: #0000FF\">int<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">; <\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\"> &lt; <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Length<\/span><span style=\"color: #000000\">; <\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\">++)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFanRenderer<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #795E26\">GetComponent<\/span><span style=\"color: #000000\">&lt;<\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\">>();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">myFanRenderer<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">SetColor<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;_Color&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">colorField<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\">]);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">rotatingFans<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\">].<\/span><span style=\"color: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0.0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">fanRotationSpeed<\/span><span style=\"color: #000000\">[<\/span><span style=\"color: #001080\">i<\/span><span style=\"color: #000000\">] * <\/span><span style=\"color: #001080\">Time<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">deltaTime<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">Space<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Self<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-c706731\" data-block-id=\"c706731\"><p class=\"stk-block-text__text\">\u0641\u06a9\u0631 \u06a9\u0646\u0645 \u062a\u0648\u0636\u06cc\u062d \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0644\u0648\u067e\u200c\u0647\u0627 \u0631\u0648 \u062e\u0648\u0646\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f \u067e\u0633 \u062d\u0627\u0644\u0627 \u0641\u0642\u0637 \u06cc\u0647 \u0646\u06a9\u062a\u0647\u200c \u062f\u0631 \u0645\u0648\u0631\u062f \u06a9\u062f\u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u0628\u06af\u0645. \u062f\u0631 \u0633\u0647 \u062e\u0637 \u06f2\u06f0\u060c \u06f2\u06f1 \u0648 \u06f2\u06f2 \u062f\u0627\u062e\u0644 \u0628\u0631\u0627\u06a9\u062a\u200c\u0647\u0627\u06cc \u062c\u0644\u0648\u06cc \u0622\u0631\u0627\u06cc\u0647\u200c\u0647\u0627 \u0627\u06cc\u0646 \u0628\u0627\u0631 \u0628\u0647 \u062c\u0627\u06cc \u0634\u0645\u0627\u0631\u0647\u200c\u06cc \u062c\u0627\u06cc\u06af\u0627\u0647 \u0645\u062a\u063a\u06cc\u0631 i \u0631\u0648 \u06a9\u0647 \u062f\u0627\u062e\u0644 \u067e\u0631\u0627\u0646\u062a\u0632\u0647\u0627\u06cc \u0644\u0648\u067e \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0634\u0645\u0627\u0631\u0646\u062f\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u0645 \u0631\u0648 \u06af\u0630\u0627\u0634\u062a\u06cc\u0645 \u062a\u0627 \u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u0631 \u0647\u0631 \u0628\u0627\u0631 \u0627\u062c\u0631\u0627\u06cc \u0644\u0648\u067e \u0645\u0642\u062f\u0627\u0631 \u0627\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u0647 \u0648 \u06a9\u062f\u0647\u0627\u06cc \u0627\u0648\u0646 \u0633\u0647 \u062e\u0637 \u0631\u0648\u06cc GameObject \u0628\u0639\u062f\u06cc \u0627\u0639\u0645\u0627\u0644 \u0628\u0634\u0647. \u0645\u062b\u0644\u0627 \u062f\u0631 \u0628\u0627\u0631 \u0627\u0648\u0644 \u0627\u062c\u0631\u0627\u06cc \u0644\u0648\u067e \u0686\u0648\u0646 \u0645\u0642\u062f\u0627\u0631 \u0634\u0645\u0627\u0631\u0646\u062f\u0647 \u0635\u0641\u0631\u0647 \u067e\u0633 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0646\u06af \u0648 \u062a\u0639\u06cc\u06cc\u0646 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0628\u0631 \u0631\u0648\u06cc \u0645\u062f\u0644 \u0641\u0646 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u0634\u0647 \u0627\u06cc\u0646 \u0647\u0645 \u0628\u0647 \u0627\u06cc\u0646 \u062f\u0644\u06cc\u0644\u0647 \u06a9\u0647 \u062f\u0631 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0634\u0645\u0627\u0631\u200c\u0647\u200c\u06cc \u0635\u0641\u0631 \u0627\u0633\u0645 \u0645\u062f\u0644 \u0641\u0646 \u06cc\u06a9 \u0630\u062e\u06cc\u0631\u0647 \u0634\u062f\u0647. \u0628\u0639\u062f \u0634\u0645\u0627\u0631\u0646\u062f\u0647 \u062e\u0648\u062f\u0634 \u0631\u0648 \u0622\u067e\u062f\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u0647 \u0648 \u0645\u0642\u062f\u0627\u0631 \u0627\u0648\u0646 \u0627\u0632 \u0635\u0641\u0631 \u0628\u0647 \u06cc\u06a9 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0647. \u0627\u06cc\u0646 \u0628\u0627\u0631 \u0646\u0648\u0628\u062a \u0645\u062f\u0644 \u062f\u0648\u0645 \u062f\u0631 \u062c\u0627\u06cc\u06af\u0627\u0647 \u0634\u0645\u0627\u0631\u0647\u200c\u06cc \u06cc\u06a9 \u0645\u06cc\u200c\u0631\u0633\u0647. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062a\u0627 \u0622\u062e\u0631\u06cc\u0646 \u0645\u062f\u0644 \u0645\u062a\u0635\u0644 \u0628\u0647 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0627 \u0627\u062f\u0627\u0645\u0647 \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-a5fcfc3\" data-block-id=\"a5fcfc3\"><figure><span class=\"stk-img-wrapper stk-image--shape-stretch stk--has-lightbox\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1427\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-finalScreenShot.png\" width=\"992\" height=\"556\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-finalScreenShot.png 992w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-finalScreenShot-300x168.png 300w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-finalScreenShot-768x430.png 768w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-finalScreenShot-500x280.png 500w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/array-finalScreenShot-800x448.png 800w\" sizes=\"auto, (max-width: 992px) 100vw, 992px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image has-text-align-left stk-block stk-7e2b782\" data-block-id=\"7e2b782\"><style>.stk-7e2b782 .stk-img-wrapper{width:50px !important}<\/style><figure><a class=\"stk-link\" href=\"https:\/\/mabioca.com\/blog\/scripting\/using-arrays-to-control-objects-in-unity\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2021\/12\/languages.svg\" width=\"50\" height=\"300\"\/><\/span><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0647\u062f\u0641\u0645 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0622\u0631\u0627\u06cc\u0647 \u0631\u0648 \u062f\u0631 \u06cc\u0647 \u067e\u0631\u0648\u0698\u0647\u200c\u06cc \u0633\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0645 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u062f\u0634 \u0645\u0634\u062e\u0635 \u0628\u0634\u0647 \u0648\u0644\u06cc \u0627\u06cc\u0646 \u0631\u0648 \u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0627\u062f\u0627\u0645\u0647 \u0633\u0647 \u0646\u0648\u0634\u062a\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc\u0647 \u067e\u0633 \u0627\u06af\u0647 \u0627\u0648\u0646\u0647\u0627 \u0631\u0648 \u0646\u062e\u0648\u0646\u062f\u06cc\u062f \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u06cc\u0646\u062c\u0627 \u0645\u06cc\u200c\u062e\u0648\u0646\u06cc\u062f \u0627\u062d\u062a\u0645\u0627\u0644\u0646 \u06af\u06cc\u062c \u06a9\u0646\u0646\u062f\u0647 \u0628\u0627\u0634\u0647 \u067e\u0633 \u0627\u0648\u0644 \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0631\u0648 \u0628\u0639\u062f \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0631\u0648 \u0628\u062e\u0648\u0646\u06cc\u062f [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1363,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0631\u0627\u06cc\u0647 \u062f\u0631 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0646\u0648\u06cc\u0633\u06cc \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0628\u0631\u0627\u06cc \u0686\u0631\u062e\u0627\u0646\u062f\u0646 \u0645\u062f\u0644\u200c\u0647\u0627","_seopress_titles_desc":" \u062f\u0631 \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647 \u0642\u0631\u0627\u0631\u0647 \u06a9\u062f\u0647\u0627\u06cc\u06cc \u0631\u0648 \u0628\u0646\u0648\u06cc\u0633\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0648 \u0628\u0647 \u0645\u0627 \u0628\u062f\u0647 \u06a9\u0647 \u0647\u0631 \u062a\u0639\u062f\u0627\u062f \u0645\u0648\u0636\u0648\u0639 \u0631\u0648 \u06a9\u0647 \u0644\u0627\u0632\u0645 \u062f\u06cc\u062f\u06cc\u0645 \u0628\u0647\u0634 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u062a\u0648\u0646\u06cc\u0645 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u0627\u0648\u0646\u0647\u0627 \u0628\u062f\u06cc\u0645","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"none","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg","_seopress_social_fb_img_attachment_id":1363,"_seopress_social_fb_img_width":700,"_seopress_social_fb_img_height":525,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg","_seopress_social_twitter_img_attachment_id":1363,"_seopress_social_twitter_img_width":700,"_seopress_social_twitter_img_height":525,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"both","_seopress_redirections_param":"","_seopress_redirections_type":301,"_seopress_analysis_target_kw":"for loop,array,\u0622\u0631\u0627\u06cc\u0647","_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[237],"tags":[243,244,242,238,240,155],"class_list":["post-1360","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-array","tag-for-loop","tag-242","tag-238","tag-240","tag-155"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"thumbnail":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1-150x150.jpg",150,150,true],"medium":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1-300x225.jpg",300,225,true],"medium_large":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"large":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"1536x1536":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"2048x2048":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"vp_sm":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1-500x375.jpg",500,375,true],"vp_md":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"vp_lg":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"vp_xl":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"vp_sm_popup":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1-500x375.jpg",500,375,true],"vp_md_popup":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false],"vp_xl_popup":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-RotatingFans_v1.jpg",700,525,false]},"post_excerpt_stackable_v2":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0647\u062f\u0641\u0645 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0622\u0631\u0627\u06cc\u0647 \u0631\u0648 \u062f\u0631 \u06cc\u0647 \u067e\u0631\u0648\u0698\u0647\u200c\u06cc \u0633\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0645 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u062f\u0634 \u0645\u0634\u062e\u0635 \u0628\u0634\u0647 \u0648\u0644\u06cc \u0627\u06cc\u0646 \u0631\u0648 \u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0627\u062f\u0627\u0645\u0647 \u0633\u0647 \u0646\u0648\u0634\u062a\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc\u0647 \u067e\u0633 \u0627\u06af\u0647 \u0627\u0648\u0646\u0647\u0627 \u0631\u0648 \u0646\u062e\u0648\u0646\u062f\u06cc\u062f \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u06cc\u0646\u062c\u0627 \u0645\u06cc\u200c\u062e\u0648\u0646\u06cc\u062f \u0627\u062d\u062a\u0645\u0627\u0644\u0646 \u06af\u06cc\u062c \u06a9\u0646\u0646\u062f\u0647 \u0628\u0627\u0634\u0647 \u067e\u0633 \u0627\u0648\u0644 \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0631\u0648 \u0628\u0639\u062f \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0631\u0648 \u0628\u062e\u0648\u0646\u06cc\u062f \u0648 \u0627\u06af\u0647 \u0641\u06a9\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0644\u0627\u0632\u0645\u0647 \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u062a\u062f \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0648\u0646\u06cc\u062f \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0631\u0648 \u0628\u062e\u0648\u0646\u06cc\u062f. \u0637\u0628\u0642 \u0631\u0648\u0646\u062f\u06cc \u0647\u0645 \u06a9\u0647 \u062a\u0627 \u0627\u0644\u0627\u0646 \u062f\u0627\u0634\u062a\u06cc\u0645 \u0641\u0627\u06cc\u0644 \u067e\u0631\u0648\u0698\u0647 \u0631\u0648 \u0628\u0647 \u06af\u06cc\u062a \u0647\u0627\u0628 \u0622\u067e\u0644\u0648\u062f \u06a9\u0631\u062f\u0645 \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u0627\u0648\u0646 \u0631\u0648 \u0627\u0632 \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u0628\u0627 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u06af\u06cc\u062a \u0647\u0627\u0628 \u062f\u0633\u06a9\u062a\u0627\u067e \u0628\u0627\u0632\u0634 \u06a9\u0646\u06cc\u062f&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/\" rel=\"category tag\">\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc<\/a>","author_info_v2":{"name":"\u0631\u0636\u0627\u062e\u0627\u0646\u06cc","url":"https:\/\/mabioca.com\/pa\/author\/behrad\/"},"comments_num_v2":"0 \u062f\u06cc\u062f\u06af\u0627\u0647","_links":{"self":[{"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts\/1360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/comments?post=1360"}],"version-history":[{"count":1,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts\/1360\/revisions"}],"predecessor-version":[{"id":1925,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts\/1360\/revisions\/1925"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/media\/1363"}],"wp:attachment":[{"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/media?parent=1360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/categories?post=1360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/tags?post=1360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}