Added Observation Scene to show the Replay
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Unity.Cinemachine.Samples
|
||||
{
|
||||
public class LockPosZ : MonoBehaviour
|
||||
{
|
||||
public float ZPosiion;
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
var pos = transform.position;
|
||||
pos.z = ZPosiion;
|
||||
transform.position = pos;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user