Bu yerda C# kodining misoli mavjud, uni Unityda turli tezlikdagi ob'ektni aylantirish uchun ishlatish mumkin: using UnityEngine; public class Rotator : MonoBehaviour { public float rotationSpeed = 50f; // GameObject objectToRotate; // void rotate object (update) { // "R" tugmasini bosish, if (Input.GetKeyDownKey(Code.R)) aylanish tezligini oshiradi { rotationSpeed += 10f; } // "F" tugmasini bosish, if (Input.GetKeyDownKey(Code.F)) aylanish tezligini kamaytiradi { rotationSpeed - 10f; } // Ob'ektni Y o'qi bo'ylab aylantirish, if (Input.GetKeyDownKey) aylanish tezligi bilan
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence