From aa8d381cd3265b8b99d27afc33c35f5779f39484 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 25 Apr 2021 19:09:43 +0800 Subject: -example --- Assets/ProFlares/DemoScripts/RotateTransform.cs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Assets/ProFlares/DemoScripts/RotateTransform.cs (limited to 'Assets/ProFlares/DemoScripts/RotateTransform.cs') 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; - } - -} -- cgit v1.1-26-g67d0