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 Cinemachine; | |
public class CameraController : MonoBehaviour | |
{ | |
[SerializeField] private CinemachineVirtualCamera cinemachineVirtualCamera; | |
private const float MIN_FOLLOW_Y_OFFSET = 2f; | |
private const float MAX_FOLLOW_Y_OFFSET = 12f; |
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
import bpy | |
import os | |
from copy import copy | |
# export to blend file location | |
basedir = os.path.dirname(bpy.data.filepath) | |
if not basedir: | |
raise Exception("Blend file is not saved") |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
public class MazeGenerator : MonoBehaviour | |
{ | |
[SerializeField] | |
int seed; |
OlderNewer