Hi ı’m new unity user.
I don’t want to see the blue in the back when the camera follows the player.
While my game is playing the camera goes right down. and Cameram follows my player. But I don’t want the background blues to appear. I would appreciate it if you could help.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class kamer : MonoBehaviour {
public Transform player;
public Vector3 offset;
void Update ()
{
transform.position = new Vector3 (player.position.x + offset.x, player.position.y + offset.y, offset.z); // Camera follows the player with specified offset position
}
}
,Hi , im new to unity and using unity. the player has the following camera.
I don’t want the background blue to appear when playing games and watching the camera player. I would appreciate it if you could help.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class kamer : MonoBehaviour {
public Transform player;
public Vector3 offset;
void Update ()
{
transform.position = new Vector3 (player.position.x + offset.x, player.position.y + offset.y, offset.z); // Camera follows the player with specified offset position
}
}