summaryrefslogtreecommitdiff
path: root/Assets/ProFlares/DemoScripts/RotateTransform.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-04-25 19:09:43 +0800
committerchai <chaifix@163.com>2021-04-25 19:09:43 +0800
commitaa8d381cd3265b8b99d27afc33c35f5779f39484 (patch)
tree93512821ec58a34b8a0c5a80b9f23f8692781e87 /Assets/ProFlares/DemoScripts/RotateTransform.cs
parent09a01ad69d8cb9a837f299ec085fef3802438f30 (diff)
-example
Diffstat (limited to 'Assets/ProFlares/DemoScripts/RotateTransform.cs')
-rw-r--r--Assets/ProFlares/DemoScripts/RotateTransform.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/Assets/ProFlares/DemoScripts/RotateTransform.cs b/Assets/ProFlares/DemoScripts/RotateTransform.cs
deleted file mode 100644
index 2f54743..0000000
--- a/Assets/ProFlares/DemoScripts/RotateTransform.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-/// ProFlares - v1.08 - Copyright 2014-2015 All rights reserved - ProFlares.com
-
-using UnityEngine;
-using System.Collections;
-
-public class RotateTransform : MonoBehaviour {
-
- Transform thisTransform;
-
- public Vector3 Speed = new Vector3(0,20f,0);
-
- void Start () {
- thisTransform = transform;
- }
-
- void Update () {
- Quaternion offset = Quaternion.Euler(Speed * Time.deltaTime);
- thisTransform.localRotation = thisTransform.localRotation*offset;
- }
-
-}