Fix 3rd camera rotations
This commit is contained in:
parent
06075d9748
commit
7fddc312d7
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue