using UnityEngine;This is the script I'm currently trying to get working.
using System.Collections;
using ORKFramework;
public class CameraMovement : MonoBehaviour {
Transform target;
void Start() {
}
void Update () {
GameObject player = ORK.Game.GetPlayer();
target.position = target.position + new Vector3 (0, 0, -10);
target = GameObject.Find ("Player").transform;
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!
ORK Framework comes with a built-in top-down camera that even supports sticking to defined borders around a scene (using box colliders).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!