14 lines
228 B
C#
14 lines
228 B
C#
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
public class setFixedRotation : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
public Vector3 rotationValue;
|
|||
|
|
|
|||
|
|
void Update ()
|
|||
|
|
{
|
|||
|
|
transform.eulerAngles = rotationValue;
|
|||
|
|
}
|
|||
|
|
}
|