diff options
author | chai <chaifix@163.com> | 2021-04-25 19:09:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-04-25 19:09:43 +0800 |
commit | aa8d381cd3265b8b99d27afc33c35f5779f39484 (patch) | |
tree | 93512821ec58a34b8a0c5a80b9f23f8692781e87 /Assets/ProFlares/DemoScripts/CopyRotationValue.cs | |
parent | 09a01ad69d8cb9a837f299ec085fef3802438f30 (diff) |
-example
Diffstat (limited to 'Assets/ProFlares/DemoScripts/CopyRotationValue.cs')
-rw-r--r-- | Assets/ProFlares/DemoScripts/CopyRotationValue.cs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Assets/ProFlares/DemoScripts/CopyRotationValue.cs b/Assets/ProFlares/DemoScripts/CopyRotationValue.cs deleted file mode 100644 index f42b896..0000000 --- a/Assets/ProFlares/DemoScripts/CopyRotationValue.cs +++ /dev/null @@ -1,26 +0,0 @@ -//// ProFlares - v1.08 - Copyright 2014-2015 All rights reserved - ProFlares.com - - -/// CopyRotationValue.cs -/// Copy the targets transforms rotational value. - -using UnityEngine; -using System.Collections; - -namespace ProFlares { - public class CopyRotationValue : MonoBehaviour { - public Transform target; - - Transform thisTrans; - void Start () { - thisTrans = transform; - if(target == null) - this.enabled = false; - } - - void LateUpdate () { - - thisTrans.localRotation = target.rotation; - } - } -} |