|
@@ -28,10 +28,7 @@
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
*****************************************************************************/
|
|
*****************************************************************************/
|
|
|
|
|
|
-/*****************************************************************************
|
|
|
|
- * Constrained Camera created by Mitch Thompson
|
|
|
|
- * Full irrevocable rights and permissions granted to Esoteric Software
|
|
|
|
-*****************************************************************************/
|
|
|
|
|
|
+// Contributed by: Mitch Thompson
|
|
|
|
|
|
using UnityEngine;
|
|
using UnityEngine;
|
|
using System.Collections;
|
|
using System.Collections;
|
|
@@ -52,4 +49,4 @@ public class ConstrainedCamera : MonoBehaviour {
|
|
|
|
|
|
transform.position = Vector3.Lerp(transform.position, goalPoint, smoothing * Time.deltaTime);
|
|
transform.position = Vector3.Lerp(transform.position, goalPoint, smoothing * Time.deltaTime);
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|