This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.IO; | |
using System; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Security.Cryptography; | |
public class SaveDemo : MonoBehaviour | |
{ | |
private void OnGUI() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class CameraFollow : MonoBehaviour | |
{ | |
[Tooltip("Player transform to follow")] | |
[SerializeField] private Transform player; | |
[Tooltip("Distance between camera position to Player transform")] | |
[SerializeField] private float distance = 10; | |
[Tooltip("Height of camera position from Player transform")] |