diff --git a/Assets/Scripts/ObjectRotate.cs b/Assets/Scripts/ObjectRotate.cs index 9360a0ef..dc11eb81 100644 --- a/Assets/Scripts/ObjectRotate.cs +++ b/Assets/Scripts/ObjectRotate.cs @@ -4,13 +4,12 @@ using UnityEngine; public class ObjectRotate : MonoBehaviour { - [SerializeField] - private Vector3 _vector; + [SerializeField] private Vector3 _vector; + [SerializeField] private float _speed = 10; private void Update() { - transform.Rotate(_vector); - + transform.Rotate(_vector * _speed * Time.deltaTime); } } diff --git a/Assets/_Monuments/Prefabs/Big/Monument_1.prefab b/Assets/_Monuments/Prefabs/Big/Monument_1.prefab index f6e847fc..94729c54 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_1.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_1.prefab @@ -132,10 +132,15 @@ PrefabInstance: propertyPath: m_LocalRotation.y value: -0.6073759 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: 0.04 + value: 0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} diff --git a/Assets/_Monuments/Prefabs/Big/Monument_10.prefab b/Assets/_Monuments/Prefabs/Big/Monument_10.prefab index 1c7d7eab..9c1add77 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_10.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_10.prefab @@ -166,10 +166,15 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: -0.05 + value: -0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} diff --git a/Assets/_Monuments/Prefabs/Big/Monument_2.prefab b/Assets/_Monuments/Prefabs/Big/Monument_2.prefab index 213ba339..c3472194 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_2.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_2.prefab @@ -166,10 +166,15 @@ PrefabInstance: propertyPath: m_LocalRotation.z value: -0.060016606 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: 0.03 + value: 0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} diff --git a/Assets/_Monuments/Prefabs/Big/Monument_3.prefab b/Assets/_Monuments/Prefabs/Big/Monument_3.prefab index 0024f57c..900f016c 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_3.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_3.prefab @@ -67,10 +67,15 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: 0.05 + value: 0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} diff --git a/Assets/_Monuments/Prefabs/Big/Monument_4.prefab b/Assets/_Monuments/Prefabs/Big/Monument_4.prefab index 4fe50d80..a1ae96ea 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_4.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_4.prefab @@ -172,6 +172,16 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 40 + objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _vector.y + value: 0.01 + objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: lengthInSec diff --git a/Assets/_Monuments/Prefabs/Big/Monument_5.prefab b/Assets/_Monuments/Prefabs/Big/Monument_5.prefab index 59979fc4..13aa2362 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_5.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_5.prefab @@ -341,10 +341,15 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: -0.05 + value: 0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} @@ -442,6 +447,11 @@ PrefabInstance: propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} + - target: {fileID: 4421202291124940304, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} - target: {fileID: 4421202291124940304, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: m_LocalPosition.x diff --git a/Assets/_Monuments/Prefabs/Big/Monument_6.prefab b/Assets/_Monuments/Prefabs/Big/Monument_6.prefab index 38fdfa69..e70662ad 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_6.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_6.prefab @@ -261,6 +261,11 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y @@ -377,6 +382,11 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: -96 objectReference: {fileID: 0} + - target: {fileID: 4646941646174813383, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: m_AllowDynamicResolution + value: 1 + objectReference: {fileID: 0} - target: {fileID: 5292507482521882122, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: m_LocalPosition.x diff --git a/Assets/_Monuments/Prefabs/Big/Monument_7.prefab b/Assets/_Monuments/Prefabs/Big/Monument_7.prefab index e3b1bb99..8d1221e0 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_7.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_7.prefab @@ -52,10 +52,15 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: 0.08 + value: 0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} diff --git a/Assets/_Monuments/Prefabs/Big/Monument_8.prefab b/Assets/_Monuments/Prefabs/Big/Monument_8.prefab index 4d284435..4fb23a5d 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_8.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_8.prefab @@ -62,10 +62,15 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: -0.12 + value: -0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} diff --git a/Assets/_Monuments/Prefabs/Big/Monument_9.prefab b/Assets/_Monuments/Prefabs/Big/Monument_9.prefab index d86a95b6..e4ae9ed2 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_9.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_9.prefab @@ -162,10 +162,15 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, + type: 3} + propertyPath: _speed + value: 150 + objectReference: {fileID: 0} - target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3} propertyPath: _vector.y - value: 0.05 + value: 0.01 objectReference: {fileID: 0} - target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7, type: 3}