Использую код:
Синтаксис:
Используется csharp
Vector3 thisLRotation = this.transform.localEulerAngles;
this.transform.localEulerAngles = new Vector3(thisLRotation.x, 10, thisLRotation.z);
this.transform.localEulerAngles = new Vector3(thisLRotation.x, 10, thisLRotation.z);
Помогите, в чём может быть проблема?