PinRotation.cs 265 B

1234567891011121314151617
  1. using System;
  2. using UnityEngine;
  3. public class PinRotation : MonoBehaviour
  4. {
  5. private void Start()
  6. {
  7. this.myTrans = base.transform;
  8. }
  9. private void Update()
  10. {
  11. base.transform.rotation = Quaternion.identity;
  12. }
  13. private Transform myTrans;
  14. }