You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
290 B

9 years ago
  1. using UnityEngine;
  2. using System.Collections;
  3. public class sc : MonoBehaviour {
  4. Quaternion rotation;
  5. // Use this for initialization
  6. void Awake () {
  7. rotation = transform.rotation;
  8. }
  9. // Update is called once per frame
  10. void LateUpdate () {
  11. transform.rotation = rotation;
  12. }
  13. }