{"id":1549,"date":"2024-02-11T20:52:25","date_gmt":"2024-02-11T17:22:25","guid":{"rendered":"https:\/\/mabioca.com\/pa\/?p=1549"},"modified":"2024-11-26T13:51:07","modified_gmt":"2024-11-26T10:21:07","slug":"unity-changing-fan-speed-color-slider","status":"publish","type":"post","link":"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/unity-changing-fan-speed-color-slider\/","title":{"rendered":"\u06f4- \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0631\u0639\u062a \u0648 \u0631\u0646\u06af \u06cc\u06a9 \u0645\u0648\u0636\u0648\u0639 \u0628\u0627 \u0633\u0644\u0627\u06cc\u062f\u0631"},"content":{"rendered":"\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-403c9f7\" data-block-id=\"403c9f7\"><p class=\"stk-block-text__text\">\u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u062f\u0631 \u0627\u0635\u0644 \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>\u060c \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> \u0648 \u0628\u0639\u062f\u0634 <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/\" 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 ChangeSpeedUsingSlider \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-d1147ae\" data-block-id=\"d1147ae\"><p class=\"stk-block-text__text\">\u062f\u0631 <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0646\u0648\u0634\u062a\u0647 \u0633\u0648\u0645<\/a> \u06a9\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0631\u0627\u06cc\u0647 \u0648 \u0644\u0648\u067e \u0631\u0648 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645 \u06cc\u0647 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a \u0648 \u0627\u0648\u0646 \u0627\u06cc\u0646 \u0628\u0648\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af\u060c \u0633\u0631\u0639\u062a \u0648 \u062c\u0647\u062a \u0686\u0631\u062e\u0634 \u0645\u062f\u0644 \u0641\u0646\u200c\u0647\u0627 \u0628\u0627\u06cc\u062f \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u06cc\u0648\u0646\u06cc\u062a\u06cc \u0628\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0631\u062f\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0642\u0631\u0627\u0631\u0647 \u0627\u06cc\u0646 \u06a9\u0646\u062a\u0631\u0644\u200c\u0647\u0627 \u0631\u0648 \u0628\u0647 \u062f\u0627\u062e\u0644 \u0645\u062d\u06cc\u0637 \u0628\u0627\u0632\u06cc \u0628\u0628\u0631\u06cc\u0645 \u0648 \u0645\u062b\u0644 \u0627\u06cc\u0646 \u0645\u06cc\u200c\u0645\u0648\u0646\u0647 \u06a9\u0647 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0633\u0627\u062e\u062a\u06cc\u0645 \u0631\u0648 \u062e\u0631\u0648\u062c\u06cc \u06af\u0631\u0641\u062a\u06cc\u0645 \u0648 \u0642\u0631\u0627\u0631\u0647 \u06cc\u0647 \u0646\u0641\u0631 \u0628\u0627\u0632\u06cc \u06a9\u0646\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-5f8a94b\" data-block-id=\"5f8a94b\"><p class=\"stk-block-text__text\">\u062f\u0631 \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647 \u06cc\u0647 \u0686\u06cc\u0632 \u062c\u062f\u06cc\u062f\u06cc \u06a9\u0647 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u0634\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647 \u06a9\u0647 \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0632\u06cc\u0631 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u062f\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631 \u062e\u06cc\u0644\u06cc \u0647\u0645 \u0633\u0627\u062f\u0647 \u0646\u0628\u0627\u0634\u0647 \u06cc\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0647 \u067e\u0631\u0648\u0698\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0645 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062a\u0645\u0631\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u0627\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-a3a1217\" data-block-id=\"a3a1217\"><p class=\"stk-block-text__text\">\u06f1- \u0627\u0648\u0644 \u0645\u062f\u0644 \u0641\u0646 \u0631\u0648 \u0627\u0632 \u067e\u0648\u0634\u0647\u200c\u06cc Assets &gt; Models \u0628\u0646\u062f\u0627\u0632\u06cc\u062f \u062f\u0627\u062e\u0644 \u0642\u0633\u0645\u062a Hierarchy &nbsp;\u0628\u0639\u062f \u062f\u0648\u0631\u0628\u06cc\u0646 \u0627\u0635\u0644\u06cc \u0635\u062d\u0646\u0647 \u0631\u0648 \u062c\u0648\u0631\u06cc \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0641\u0646 \u0631\u0648 \u06a9\u0627\u0645\u0644 \u0646\u0634\u0648\u0646 \u0628\u062f\u0647<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-e3b0510\" data-block-id=\"e3b0510\"><p class=\"stk-block-text__text\">\u06f2- \u062f\u0631 \u0642\u0633\u0645\u062a Hierarchy \u06a9\u0644\u06cc\u06a9 \u0631\u0627\u0633\u062a \u0631\u0648 \u0628\u0632\u0646\u06cc\u062f \u0648 \u0627\u0632 \u062f\u0633\u062a\u0647\u200c\u0628\u0646\u062f\u06cc UI \u0631\u0648\u06cc Slider \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u06cc\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0633\u0627\u062e\u062a\u0647 \u0628\u0634\u0647<\/p><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u06f3- \u0628\u0631\u06cc\u062f \u062f\u0627\u062e\u0644 \u06af\u06cc\u0645 \u0622\u0628\u062c\u06a9\u062a Canvas \u062f\u0631 \u067e\u0646\u062c\u0631\u0647\u200c\u06cc Hierarchy \u0648 \u0627\u0633\u0645 Slider \u0631\u0648 \u0628\u0647 SpeedSlider \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u062f. \u0627\u06cc\u0646 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0642\u0631\u0627\u0631\u0647 \u0633\u0631\u0639\u062a \u0645\u062f\u0644 \u0641\u0646 \u0631\u0648 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u0647<\/p>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-1f5ac25\" data-block-id=\"1f5ac25\"><p class=\"stk-block-text__text\">\u06f4- \u0628\u0639\u062f \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0633\u0645\u0634 \u0631\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u06cc\u062f \u062f\u0627\u062e\u0644\u0634 \u06af\u06cc\u0645 \u0622\u0628\u062c\u06a9\u062a Fill Area \u0631\u0648 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u0631\u0648\u06cc Fill \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0642\u0633\u0645\u062a Inspector \u0631\u0646\u06af \u06af\u0632\u06cc\u0646\u0647\u200c\u06cc Color \u0631\u0648 \u0633\u06cc\u0627\u0647 \u06a9\u0646\u06cc\u062f<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-87d6ae8\" data-block-id=\"87d6ae8\"><p class=\"stk-block-text__text\">\u06f5- \u062d\u0627\u0644\u0627 Handle Slide Area \u0631\u0648 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u0631\u0648\u06cc Handle \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0639\u062f \u0627\u0632 \u0642\u0633\u0645\u062a Assets &gt; Models &gt; Slider \u062a\u0635\u0648\u06cc\u0631 slider-button \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0628\u0646\u062f\u0627\u0632\u06cc\u062f \u062f\u0627\u062e\u0644 Source Image \u062f\u0631 \u067e\u0646\u062c\u0631\u0647\u200c\u06cc Inspector<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-409122c\" data-block-id=\"409122c\"><p class=\"stk-block-text__text\">\u06f6- \u062a\u0627 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0633\u0627\u062e\u062a\u0647 \u0634\u062f \u062d\u0627\u0644\u0627 \u0631\u0648\u06cc \u0627\u0633\u0645 \u0633\u0644\u0627\u06cc\u062f\u0631 \u062f\u0631 Canvas \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc PosX \u0648 PosY \u062f\u0631 \u0642\u0633\u0645\u062a Inspector \u06cc\u0647 \u062c\u0627\u06cc \u062f\u0644\u062e\u0648\u0627\u0647 \u0628\u0631\u0627\u0634 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-4d2add3\" data-block-id=\"4d2add3\"><p class=\"stk-block-text__text\">\u06f7- \u0633\u0644\u0627\u06cc\u062f\u0631 SpeedSlider \u0631\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u0627\u0632\u0634 \u0633\u0647 \u062a\u0627\u06cc \u062f\u06cc\u06af\u0647 \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0627 \u0647\u0645\u0648\u0646 \u06a9\u0646\u062a\u0631\u0644 \u0633\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0648\u06cc<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-caf2759\" data-block-id=\"caf2759\"><p class=\"stk-block-text__text\">\u06f8- \u0627\u0633\u0645 \u0633\u0647 \u062a\u0627\u06cc \u0628\u0639\u062f\u06cc \u0631\u0648 \u0628\u0647 ColorGreen, ColorBlue \u0648 ColorRed \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u062f<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-b692725\" data-block-id=\"b692725\"><p class=\"stk-block-text__text\">\u06f9- \u062f\u0627\u062e\u0644 \u0627\u06cc\u0646 \u0633\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631 \u06af\u06cc\u0645 \u0622\u0628\u062c\u06a9\u062a Handle \u0631\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u0631\u0646\u06af \u06af\u0632\u06cc\u0646\u0647 Color \u0631\u0648 \u062f\u0631 \u067e\u0646\u062c\u0631\u0647\u200c\u06cc Inspector \u0628\u0647 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u0642\u0631\u0645\u0632 \u0648 \u0633\u0628\u0632 \u0648 \u0622\u0628\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u062f<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-d1c719e\" data-block-id=\"d1c719e\"><figure><span class=\"stk-img-wrapper stk-image--shape-stretch stk--has-lightbox\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1556\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1.png\" width=\"1093\" height=\"715\" alt=\"Sliders\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1.png 1093w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1-300x196.png 300w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1-1024x670.png 1024w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1-768x502.png 768w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1-500x327.png 500w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-1-800x523.png 800w\" sizes=\"auto, (max-width: 1093px) 100vw, 1093px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-f2ace8f\" data-block-id=\"f2ace8f\"><p class=\"stk-block-text__text\">\u06f1\u06f0- \u06cc\u0647 \u0641\u0627\u06cc\u0644 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0633\u0627\u0632\u06cc\u062f \u0648 \u06cc\u0647 \u0627\u0633\u0645 \u062f\u0644\u062e\u0648\u0627\u0647 \u0628\u0647\u0634 \u0628\u062f\u06cc\u062f \u06a9\u0647 \u0645\u0646 \u06af\u0630\u0627\u0634\u062a\u0645 SpeedControlSlider<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-522997b\" data-block-id=\"522997b\"><p class=\"stk-block-text__text\">\u06f1\u06f1- \u0631\u0648\u0634 \u062f\u0627\u0628\u0644 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u062f\u0627\u062e\u0644 \u0648\u06cc\u0698\u0648\u0627\u0644 \u0627\u0633\u062a\u0648\u062f\u06cc\u0648 \u0628\u0627\u0632 \u0628\u0634\u0647<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-7a4838d\" data-block-id=\"7a4838d\"><p class=\"stk-block-text__text\">\u06f1\u06f2- \u0627\u0648\u0644 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0648 \u0628\u0647\u0634 \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\" 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-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 SpeedControlSlider : MonoBehaviour\n{\n    public float speedControl = 1.0f;\n    public float red;\n    public float green;\n    public float blue;\n    Renderer myFan;\" 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\">SpeedControlSlider<\/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: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">speedControl<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #098658\">1.0f<\/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\">red<\/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\">green<\/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\">blue<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #267F99\">Renderer<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">myFan<\/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-4cfba7d\" data-block-id=\"4cfba7d\"><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 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc\u0634 \u0627\u0632 \u0646\u0648\u0639 public \ufeea. \u062f\u0631 \u0645\u0648\u0631\u062f \u0627\u0646\u0648\u0627\u0639 \u062f\u0633\u062a\u0631\u0633\u06cc \u0647\u0645 \u062f\u0631 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0642\u0628\u0644\u06cc \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645. \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0632 \u0646\u0648\u0639 \u0627\u0639\u0634\u0627\u0631\u06cc \u06cc\u0627 float \ufeea \u0647\u0645 \u0628\u0647 \u0627\u06cc\u0646 \u0639\u0644\u062a\u0647 \u06a9\u0647 \u0686\u0648\u0646 \u0628\u0639\u062f\u0646 \u0645\u06cc\u200c\u062e\u0648\u0627\u06cc\u0645 \u062f\u0627\u062e\u0644 \u0645\u062a\u062f Rotate \u0627\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645 \u0648 \u0627\u06cc\u0646 \u0645\u062a\u062f \u062a\u0646\u0647\u0627 \u0627\u0639\u062f\u0627\u062f \u0627\u0639\u0634\u0627\u0631\u06cc \u0631\u0648 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0642\u0628\u0648\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-08de0e3\" data-block-id=\"08de0e3\"><p class=\"stk-block-text__text\">\u062e\u0637 \u06f8\u060c \u06f9 \u0648 \u06f1\u06f0 \u0647\u0645 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u0646\u062f\u0647\u200c\u06cc \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u0642\u0631\u0645\u0632 \u0648 \u0633\u0628\u0632 \u0648 \u0622\u0628\u06cc \u0647\u0633\u062a\u0646. \u0686\u0648\u0646 \u0645\u0642\u062f\u0627\u0631\u0634\u0648\u0646 \u0628\u06cc\u0646 \u0635\u0641\u0631 \u0648 \u06cc\u06a9 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u0634\u0647 \u0628\u0627\u06cc\u062f \u0627\u0639\u0634\u0627\u0631\u06cc \u0628\u0627\u0634\u0646 \u0645\u062b\u0644\u0627 \u0645\u0642\u062f\u0627\u0631 \u0635\u0641\u0631 \u0628\u0631\u0627\u06cc \u0642\u0631\u0645\u0632\u060c \u0635\u0641\u0631 \u0628\u0631\u0627\u06cc \u0633\u0628\u0632 \u0648\u0644\u06cc \u06cc\u06a9 \u0628\u0631\u0627\u06cc \u0622\u0628\u06cc \u0631\u0646\u06af \u06a9\u0627\u0645\u0644 \u0622\u0628\u06cc \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u0647 \u0648 \u06cc\u0627 \u0645\u0642\u062f\u0627\u0631 \u0635\u0641\u0631 \u0628\u0631\u0627\u06cc \u0622\u0628\u06cc\u060c \u0645\u0642\u062f\u0627\u0631 \u06f0.\u06f5 \u0628\u0631\u0627\u06cc \u0633\u0628\u0632 \u0648 \u0642\u0631\u0645\u0632 \u0631\u0646\u06af \u0632\u0631\u062f \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-d1559c1\" data-block-id=\"d1559c1\"><p class=\"stk-block-text__text\">\u0645\u062a\u063a\u06cc\u0631 \u062e\u0637 \u06f1\u06f1 \u0631\u0648 \u0647\u0645 \u062f\u0631 <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\">\u0646\u0648\u0634\u062a\u0647 \u0627\u0648\u0644<\/a> \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645 \u0648 \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0646\u06af \u0645\u062a\u0631\u06cc\u0627\u0644 \u0645\u062a\u0635\u0644 \u0628\u0647 \u0645\u062f\u0644 \u0641\u0646 \u0627\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-94405c9\" data-block-id=\"94405c9\"><p class=\"stk-block-text__text\">\u06f1\u06f3- \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0648 \u0628\u0639\u062f \u0627\u0632 \u0645\u062a\u062f\u0647\u0627\u06cc Start \u0648 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\" 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:12;--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 Start()\n{\n\n}\n\nvoid Update()\n{\n\n}\n\npublic void speedSlider(float sliderSpeed)\n{\n    speedControl = sliderSpeed;\n}\n\npublic void redSlider(float newRed)\n{\n    red = newRed;\n    UpdateColor();\n}\n\npublic void greenSlider(float newGreen)\n{\n    green = newGreen;\n    UpdateColor();\n}\n\npublic void blueSlider(float newBlue)\n{\n    blue = newBlue;\n    UpdateColor();\n}\n\npublic void UpdateColor()\n{\n    myFan.material.color = new Color(red, green, blue);\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: #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>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<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>\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: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">speedSlider<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">sliderSpeed<\/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: #001080\">speedControl<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">sliderSpeed<\/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>\n<span class=\"line cbp-no-blur\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">redSlider<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">newRed<\/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: #001080\">red<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">newRed<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #795E26\">UpdateColor<\/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>\n<span class=\"line cbp-no-blur\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">greenSlider<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">newGreen<\/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: #001080\">green<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">newGreen<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #795E26\">UpdateColor<\/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>\n<span class=\"line cbp-no-blur\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">blueSlider<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">newBlue<\/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: #001080\">blue<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">newBlue<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #000000\">    <\/span><span style=\"color: #795E26\">UpdateColor<\/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>\n<span class=\"line cbp-no-blur\"><span style=\"color: #0000FF\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">UpdateColor<\/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: #001080\">myFan<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">color<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #0000FF\">new<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">Color<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">red<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">green<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">blue<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line cbp-no-blur\"><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-4eb17a7\" data-block-id=\"4eb17a7\"><p class=\"stk-block-text__text\">\u0627\u06cc\u0646\u062c\u0627 \u0645\u0627 \u067e\u0646\u062c \u0645\u062a\u062f \u062c\u062f\u06cc\u062f \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u0645 \u06a9\u0647 \u0686\u0647\u0627\u0631\u062a\u0627\u06cc \u0627\u0648\u0644 \u0642\u0631\u0627\u0631\u0647 \u0628\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627\u06cc \u0645\u0627 \u0648\u0635\u0644 \u0628\u0634\u0647 \u0648 \u067e\u0646\u062c\u0645\u06cc \u062a\u0646\u0647\u0627 \u06a9\u0627\u0631\u0634 \u0627\u06cc\u0646\u0647 \u0645\u0642\u062f\u0627\u0631\u06cc \u06a9\u0647 \u0627\u0632 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u06af\u0631\u0641\u062a\u0647 \u0631\u0648 \u0628\u0639\u0646\u0648\u0627\u0646 \u0631\u0646\u06af \u062c\u062f\u06cc\u062f \u0628\u0628\u0631\u0647 \u0648 \u0631\u0646\u06af \u0645\u062a\u0631\u06cc\u0627\u0644 \u0645\u062f\u0644 \u0641\u0646 \u0631\u0648 \u0628\u0627\u0647\u0627\u0634 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u0647. \u0627\u06af\u0647 \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f \u062f\u0627\u062e\u0644 \u067e\u0631\u0627\u0646\u062a\u0632\u0647\u0627\u06cc \u0645\u062a\u062f \u0627\u0648\u0644 \u062a\u0627 \u0686\u0647\u0627\u0631\u0645 \u06cc\u0647 \u0686\u06cc\u0632\u06cc \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u06a9\u0647 \u062f\u0631 \u0645\u062a\u062f\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0642\u0628\u0644\u06cc \u0627\u0632\u0634\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u06cc\u0645 \u0646\u0628\u0648\u062f \u0627\u0644\u0628\u062a\u0647 \u062f\u0631 <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> \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645. \u0627\u06cc\u0646\u0647\u0627 \u06a9\u0647 \u0647\u0631 \u0686\u0647\u0627\u0631\u062a\u0627\u0634\u0648\u0646 \u0627\u0632 \u0646\u0648\u0639 \u0639\u062f\u062f \u0627\u0639\u0634\u0627\u0631\u06cc \u0647\u0633\u062a\u0646\u062f \u0628\u0647\u0634\u0648\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0645\u062a\u062f \u0645\u06cc\u200c\u06af\u0646. \u06a9\u0627\u0631\u0634\u0648\u0646 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631\u06cc \u0631\u0648 \u0648\u0627\u0631\u062f \u0645\u062a\u062f \u06a9\u0646\u0646 \u0645\u062b\u0644\u0627 \u0627\u06cc\u0646\u062c\u0627 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 float sliderSpeed \u062f\u0631 \u0645\u062a\u062f \u0627\u0648\u0644 \u0645\u0642\u062f\u0627\u0631\u06cc \u06a9\u0647 \u062f\u0631 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0627\u0648\u0644 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u06cc\u0645 \u0631\u0648 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0647 \u0648 \u0645\u06cc\u0631\u06cc\u0632\u0647 \u062f\u0627\u062e\u0644 \u0645\u062a\u063a\u06cc\u0631 speedControl \u06a9\u0647 \u0627\u0648\u0644 \u06a9\u0627\u0631 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0633\u0631\u0639\u062a \u0648 \u062c\u0647\u062a \u0686\u0631\u062e\u0634 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u0645. \u0633\u0647 \u062a\u0627\u06cc \u062f\u06cc\u06af\u0647 \u0645\u062b\u0644 float newRed \u0645\u0642\u062f\u0627\u0631 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0642\u0631\u0645\u0632 \u0631\u0648 \u06a9\u0647 \u0628\u06cc\u0646 \u0635\u0641\u0631 \u0648 \u06cc\u06a9\u0647 \u0631\u0648 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0647 \u0648 \u0645\u06cc\u0631\u06cc\u0632\u0647 \u062f\u0627\u062e\u0644 \u0645\u062a\u063a\u06cc\u0631 red \u06a9\u0647 \u0627\u0648\u0644 \u06a9\u0627\u0631 \u0628\u0631\u0627\u06cc \u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc\u0632\u0627\u0646 \u0642\u0631\u0645\u0632 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u0645\u060c \u0628\u0642\u06cc\u0647 \u0647\u0645 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-3e81cf6\" data-block-id=\"3e81cf6\"><p class=\"stk-block-text__text\">\u06cc\u0647 \u0633\u0648\u0627\u0644 \u0627\u06cc\u0646\u06a9\u0647 \u0686\u0631\u0627 \u0645\u062a\u062f UpdateColor \u0631\u0648 \u062f\u0627\u062e\u0644 \u0686\u0647\u0627\u0631 \u0645\u062a\u062f \u0627\u0648\u0644 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u06cc\u0645\u061f \u0639\u0644\u062a\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0648\u0642\u062a\u06cc \u062f\u0627\u0631\u06cc\u0645 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0631\u0648 \u0686\u067e \u0648 \u0631\u0627\u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062f\u0631 \u0644\u062d\u0638\u0647 \u0645\u0642\u062f\u0627\u0631 \u0631\u0646\u06af\u06cc \u0627\u0648\u0646 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0628\u0631\u0627\u06cc \u0645\u062a\u0631\u06cc\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u0647 \u06cc\u0639\u0646\u06cc \u0631\u0646\u06af \u0631\u0648 \u0622\u067e\u062f\u06cc\u062a \u06a9\u0646\u0647.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-e2192ba\" data-block-id=\"e2192ba\"><p class=\"stk-block-text__text\">\u06f1\u06f4- \u062e\u0637\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0648 \u0628\u0647 \u0645\u062a\u062f\u0647\u0627\u06cc Start \u0648 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 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:12;--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 Start()\n    {\n        myFan = GetComponent&lt;Renderer&gt;();\n        myFan.material.color = new Color(red, green, blue);\n    }\n    \n    void Update()\n    {\n        transform.Rotate(0f, 0f, speedControl * Time.deltaTime);\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: #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 style=\"color: #001080\">myFan<\/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\">&gt;();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">myFan<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">material<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">color<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #0000FF\">new<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">Color<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">red<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">green<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">blue<\/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 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: #001080\">transform<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Rotate<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0f<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">speedControl<\/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-03f3b4e\" data-block-id=\"03f3b4e\"><p class=\"stk-block-text__text\">\u062f\u0631 \u0645\u0648\u0631\u062f \u062e\u0637 \u06f1\u06f4 \u062f\u0631 \u0646\u0648\u0634\u062a\u0647\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> \u0642\u0628\u0644\u0627 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645 \u06a9\u0647 \u062e\u0644\u0627\u0635\u0647\u200c\u0634 \u0645\u06cc\u0634\u0647 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0647 \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u062f\u0631 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u0631\u0646\u062f\u0631\u0631 \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0647 \u06a9\u0647 \u06cc\u06a9\u06cc\u0634 \u0645\u062a\u0631\u06cc\u0627\u0644\u0647. \u062d\u0627\u0644\u0627 \u06a9\u062f\u0648\u0645 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a\u061f \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u0645\u062f\u0644\u06cc \u06a9\u0647 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0647\u0634 \u0648\u0635\u0644\u0647. \u062f\u0631 \u062e\u0637 \u0628\u0639\u062f\u06cc \u0645\u06cc\u200c\u06af\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u0631\u0646\u062f\u0631\u0631\u06cc \u06a9\u0647 \u062f\u0631 \u062e\u0637 \u0642\u0628\u0644\u06cc \u0628\u0647\u0634 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f\u06cc\u0645 \u0628\u0631\u0648 \u0631\u0646\u06af \u0645\u062a\u0631\u06cc\u0627\u0644 \u0627\u0648\u0646 \u0631\u0648 \u0628\u0627 \u0627\u06cc\u0646 \u0631\u0646\u06af \u062c\u062f\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u0647. \u0627\u06cc\u0646 \u0631\u0646\u06af \u062c\u062f\u06cc\u062f \u0686\u06cc\u0632\u06cc \u0646\u06cc\u0633\u062a \u062c\u0632 \u0639\u062f\u062f\u0647\u0627\u06cc \u067e\u06cc\u0634\u0641\u0631\u0636 \u062f\u0627\u062e\u0644 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u06a9\u0647 \u0635\u0641\u0631\u0647. \u0686\u0631\u0627 \u0627\u06cc\u0646 \u062f\u0648 \u062e\u0637 \u0631\u0648 \u06af\u0630\u0627\u0634\u062a\u06cc\u0645 \u062f\u0627\u062e\u0644 \u0645\u062a\u062f Start \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0648\u0644 \u0634\u0631\u0648\u0639 \u0628\u0627\u0632\u06cc \u0631\u0646\u06af \u0645\u062f\u0644 \u0628\u0627 \u0645\u0642\u062f\u0627\u0631\u0647\u0627\u06cc \u067e\u06cc\u0634\u0641\u0631\u0636 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0628\u0634\u0647 \u0627\u06af\u0647 \u0646\u0647 \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0627\u0648\u0644 \u0634\u0631\u0648\u0639 \u0628\u0627\u0632\u06cc \u0631\u0646\u06af \u0645\u062f\u0644 \u0633\u0641\u06cc\u062f\u0647 \u0648 \u0647\u0645\u06cc\u0646 \u06a9\u0647 \u06cc\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0631\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u062f\u06cc\u062f \u0631\u0646\u06af \u0645\u062f\u0644 \u06cc\u0647\u0648\u06cc\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0647. \u0633\u0647 \u0645\u0642\u062f\u0627\u0631 \u062f\u0627\u062e\u0644\u0634 \u0628\u0627\u06cc\u062f \u0627\u0639\u062f\u0627\u062f \u0627\u0639\u0634\u0627\u0631\u06cc \u0628\u0627\u0634\u0647 \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0627\u0648\u0646\u0647\u0627 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0627\u0639\u0634\u0627\u0631\u06cc \u06a9\u0647 \u0627\u0648\u0644 \u06a9\u0627\u0631 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u0645 \u0631\u0648 \u06af\u0630\u0627\u0634\u062a\u06cc\u0645 \u06a9\u0647 \u0627\u0648\u0646\u0647\u0627 \u0647\u0645 \u062e\u0648\u062f\u0634\u0648\u0646 \u0645\u0642\u062f\u0627\u0631\u0647\u0627\u0634\u0648\u0646 \u0631\u0648 \u0627\u0632 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f. \u0686\u0637\u0648\u0631\u06cc\u061f \u0628\u0627 \u0645\u062a\u062f\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 \u06a9\u062f\u0648\u0645 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-68489ab\" data-block-id=\"68489ab\"><p class=\"stk-block-text__text\">\u062f\u0631 \u0632\u06cc\u0631 \u0627\u0644\u06af\u0648\u06cc \u06a9\u0644\u06cc \u0645\u062a\u062f Color \u0631\u0648 \u06cc\u0647 \u0646\u06af\u0627\u0647\u06cc \u0628\u0646\u062f\u0627\u0632\u06cc\u062f. \u0633\u0647 \u062a\u0627\u06cc \u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u0642\u0631\u0645\u0632\u060c \u0633\u0628\u0632 \u0648 \u0622\u0628\u06cc \ufeea \u0648 \u0622\u062e\u0631\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 alpha \u0633\u062a \u06a9\u0647 \u0645\u06cc\u0632\u0627\u0646 \u0634\u0641\u0627\u0641\u06cc\u062a \u0631\u0646\u06af \u0631\u0648 \u06a9\u0646\u062a\u0631\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0647 \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631 \u06cc\u06a9 \u06cc\u0639\u0646\u06cc \u0631\u0646\u06af \u06a9\u0627\u0645\u0644\u0646 \u0645\u0627\u062a\u0647 \u0648 \u0635\u0641\u0631 \u06a9\u0627\u0645\u0644\u0646 \u0634\u0641\u0627\u0641\u0647<\/p><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro 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-start:12;--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 Color(float r, float g, float b, float a); \" 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: #795E26\">Color<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">r<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">g<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">b<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #0000FF\">float<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">a<\/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-e69fcbe\" data-block-id=\"e69fcbe\"><p class=\"stk-block-text__text\">\u062e\u0637 \u062f\u0627\u062e\u0644 \u0645\u062a\u062f Update \u0631\u0648 \u0647\u0645 \u062f\u0631 <a href=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/\" data-type=\"link\" data-id=\"https:\/\/mabioca.com\/pa\/blog\/training\/programming\/use-array-rotating-fans\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0646\u0648\u0634\u062a\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc<\/a> \u06a9\u0627\u0645\u0644 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-42b9e94\" data-block-id=\"42b9e94\"><p class=\"stk-block-text__text\">\u06f1\u06f5- \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<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-7e73ea2\" data-block-id=\"7e73ea2\"><p class=\"stk-block-text__text\">\u06f1\u06f6- \u0645\u062f\u0644 Fan \u0631\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u0633\u06a9\u0631\u06cc\u067e\u062a \u0631\u0648 \u0628\u0646\u062f\u0627\u0632\u06cc\u062f \u0632\u06cc\u0631 \u0622\u062e\u0631\u06cc\u0646 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u062f\u0631 \u067e\u0646\u062c\u0631\u0647\u200c\u06cc Inspector<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-26b1595\" data-block-id=\"26b1595\"><p class=\"stk-block-text__text\">\u06f1\u06f7- \u0645\u0631\u062d\u0644\u0647 \u0622\u062e\u0631 \u0648\u0635\u0644 \u06a9\u0631\u062f\u0646 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u0628\u0647 \u0645\u062a\u062f\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u062e\u0648\u062f\u0634\u0648\u0646\u0647. \u0633\u0644\u0627\u06cc\u062f\u0631 \u0627\u0648\u0644 \u0631\u0648 \u06a9\u0647 \u0627\u0633\u0645\u0634 SpeedSlider \u0631\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u067e\u0646\u062c\u0631\u0647 Inspector \u0631\u0648\u06cc \u0639\u0644\u0627\u0645\u062a + \u062f\u0631 \u0642\u0633\u0645\u062a On Value Changed \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u062f\u0644 \u0641\u0646 \u0631\u0648 \u0627\u0632 \u067e\u0646\u062c\u0631\u0647\u200c\u06cc Hierarchy \u0628\u0646\u062f\u0627\u0632\u06cc\u062f \u062f\u0631 \u0642\u0633\u0645\u062a\u06cc \u06a9\u0647 \u0646\u0648\u0634\u062a\u0647\u200c\u06cc None (Object) \u062f\u0627\u0631\u0647. \u062d\u0627\u0644\u0627 \u0645\u062b\u0644 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0631\u0648 \u0628\u0647 \u0645\u062a\u062f \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u062e\u0648\u062f\u0634 \u0648\u0635\u0644\u0634 \u06a9\u0646\u06cc\u062f.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-2696b49\" data-block-id=\"2696b49\"><figure><span class=\"stk-img-wrapper stk-image--shape-stretch stk--has-lightbox\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-1575\" src=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2.png\" width=\"1201\" height=\"715\" alt=\"Slider functions\" srcset=\"https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2.png 1201w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2-300x179.png 300w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2-1024x610.png 1024w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2-768x457.png 768w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2-500x298.png 500w, https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Slider-Post-2-800x476.png 800w\" sizes=\"auto, (max-width: 1201px) 100vw, 1201px\" \/><\/span><\/figure><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-8f139d2\" data-block-id=\"8f139d2\"><p class=\"stk-block-text__text\">\u06f1\u06f8- \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0648 \u0628\u0631\u0627\u06cc \u0628\u0642\u06cc\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u0647\u0645 \u062a\u06a9\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-e1e35fd\" data-block-id=\"e1e35fd\"><p class=\"stk-block-text__text\"> \u062d\u0627\u0644\u0627 \u0627\u06af\u0647 \u062f\u06a9\u0645\u0647\u200c\u06cc Play \u0631\u0648 \u0628\u0632\u0646\u06cc\u062f \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0633\u0644\u0627\u06cc\u062f\u0631 \u0633\u0631\u0639\u062a \u0686\u0631\u062e\u0634 \u062f\u0631\u0633\u062a \u06a9\u0627\u0631 \u0646\u0645\u06cc\u200c\u06a9\u0646\u0647. \u0639\u0644\u062a\u0634 \u0627\u06cc\u0646\u0647 \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631 \u062d\u062f\u0627\u0642\u0644 \u0648 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0633\u0644\u0627\u06cc\u062f\u0631\u0647\u0627 \u0645\u0648\u0642\u0639 \u0633\u0627\u062e\u062a \u0628\u06cc\u0646 \u0635\u0641\u0631 \u0648 \u06cc\u06a9\u0647. \u067e\u0633 \u0633\u0644\u0627\u06cc\u062f\u0631 SpeedSlider \u0631\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u067e\u0646\u062c\u0631\u0647\u200c\u06cc Inspector \u0645\u0642\u062f\u0627\u0631\u0647\u0627\u06cc Min Value \u0648 Max Value \u0631\u0648 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u06f5\u06f0\u06f0- \u0648 \u06f5\u06f0\u06f0 \u0628\u0632\u0627\u0631\u06cc\u062f. \u0628\u0627 \u0645\u0642\u062f\u0627\u0631 \u062d\u062f\u0627\u0642\u0644 \u0645\u0646\u0641\u06cc \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u062c\u0647\u062a \u0686\u0631\u062e\u0634 \u0631\u0648 \u0639\u0648\u0636 \u06a9\u0646\u06cc\u062f.<\/p><\/div>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-bfe465c\" data-block-id=\"bfe465c\"><p class=\"stk-block-text__text\">\u0627\u06af\u0647 \u0633\u0648\u0627\u0644\u06cc \u062f\u0627\u0634\u062a\u06cc\u062f \u067e\u0627\u06cc\u06cc\u0646 \u0628\u067e\u0631\u0633\u06cc\u062f.<\/p><\/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\/unity-changing-fan-speed-color-sliders\/\" 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>\u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u062f\u0631 \u0627\u0635\u0644 \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\u060c \u0628\u0639\u062f \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0648 \u0628\u0639\u062f\u0634 \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 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1555,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"\u06f4- \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0631\u0639\u062a \u0648 \u0631\u0646\u06af \u06cc\u06a9 \u0645\u0648\u0636\u0648\u0639 \u0628\u0627 \u0633\u0644\u0627\u06cc\u062f\u0631","_seopress_titles_desc":"\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0642\u0631\u0627\u0631\u0647 \u0627\u06cc\u0646 \u06a9\u0646\u062a\u0631\u0644\u200c\u0647\u0627 \u0631\u0648 \u0628\u0647 \u062f\u0627\u062e\u0644 \u0645\u062d\u06cc\u0637 \u0628\u0627\u0632\u06cc \u0628\u0628\u0631\u06cc\u0645 \u0648 \u0645\u062b\u0644 \u0627\u06cc\u0646 \u0645\u06cc\u200c\u0645\u0648\u0646\u0647 \u06a9\u0647 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0633\u0627\u062e\u062a\u06cc\u0645 \u0631\u0648 \u062e\u0631\u0648\u062c\u06cc \u06af\u0631\u0641\u062a\u06cc\u0645 \u0648 \u0642\u0631\u0627\u0631\u0647 \u06cc\u0647 \u0646\u0641\u0631 \u0628\u0627\u0632\u06cc \u06a9\u0646\u0647.","_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":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_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":"slider,unity,script,\u06cc\u0648\u0646\u06cc\u062a\u06cc,\u0633\u06a9\u0631\u06cc\u067e\u062a,\u0633\u0644\u0627\u06cc\u062f\u0631","_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[237],"tags":[249,154,238,250,240,155],"class_list":["post-1549","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-slider","tag-unity","tag-238","tag-250","tag-240","tag-155"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"thumbnail":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1-150x150.jpg",150,150,true],"medium":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1-300x225.jpg",300,225,true],"medium_large":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"large":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"1536x1536":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"2048x2048":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"vp_sm":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1-500x375.jpg",500,375,true],"vp_md":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"vp_lg":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"vp_xl":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"vp_sm_popup":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1-500x375.jpg",500,375,true],"vp_md_popup":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false],"vp_xl_popup":["https:\/\/mabioca.com\/pa\/wp-content\/uploads\/sites\/4\/2024\/02\/Unity-FansSlider_v1.jpg",700,525,false]},"post_excerpt_stackable_v2":"<p>\u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u062f\u0631 \u0627\u0635\u0644 \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\u060c \u0628\u0639\u062f \u0627\u06cc\u0646 \u0644\u06cc\u0646\u06a9 \u0648 \u0628\u0639\u062f\u0634 \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 \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 ChangeSpeedUsingSlider \ufeea \u06a9\u0647 \u062f\u0631 \u067e\u0648\u0634\u0647\u200c\u06cc Scenes \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u0647. \u062f\u0631 \u0646\u0648\u0634\u062a\u0647 \u0633\u0648\u0645 \u06a9\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0631\u0627\u06cc\u0647 \u0648 \u0644\u0648\u067e \u0631\u0648 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0645 \u06cc\u0647 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u06cc&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":"2 \u062f\u06cc\u062f\u06af\u0627\u0647","_links":{"self":[{"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts\/1549","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=1549"}],"version-history":[{"count":1,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts\/1549\/revisions"}],"predecessor-version":[{"id":1923,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/posts\/1549\/revisions\/1923"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/media\/1555"}],"wp:attachment":[{"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/media?parent=1549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/categories?post=1549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mabioca.com\/pa\/wp-json\/wp\/v2\/tags?post=1549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}