mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2025-02-19 20:04:22 +01:00
17 lines
379 B
C#
17 lines
379 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class PlaygroundSineRotation : MonoBehaviour {
|
|
|
|
Transform thisTransform;
|
|
|
|
// Use this for initialization
|
|
void Start () {
|
|
thisTransform = transform;
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update () {
|
|
thisTransform.Rotate(new Vector3(Mathf.Sin (Time.time), Mathf.Cos (Time.time), Mathf.Sin (Time.time)));
|
|
}
|
|
}
|