Quantcast
Viewing all articles
Browse latest Browse all 71

Credits Camera Script

hey guys. i have a credits level with gui text, a camera and two empty game objects. i want the camera to move down and show the gui text while moving down on its y axis. i also made this c# script: using UnityEngine; using System.Collections; public class CreditsCamera : MonoBehaviour { public Transform startingTarget; public Transform endingTarget; public float cameraSpeed; // Use this for initialization void Start () { if(startingTarget == null) Debug.LogWarning("There is no starting target for the camera"); if(endingTarget == null) Debug.LogWarning("There is no ending target for the camera"); } // Update is called once per frame void Update () { } } do u think you can help me? c# would be good

Viewing all articles
Browse latest Browse all 71

Trending Articles