Skip to content

Instantly share code, notes, and snippets.

View Chillu1's full-sized avatar

Chillu Chillu1

View GitHub Profile
@Chillu1
Chillu1 / FullscreenGameView.cs
Last active June 14, 2024 16:12
FullscreenGameView utility, for automatic fullscreen on play with toggle option (Game view fullscreen in editor)
/*
MIT License
Copyright (c) 2021 Chillu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@Chillu1
Chillu1 / TrailerCamera.cs
Created May 10, 2021 08:45
SimpleTrailerCamera
using System.Collections;
using System.Linq;
using DG.Tweening;
using UnityEngine;
[RequireComponent(typeof(Camera))]
public class TrailerCamera : MonoBehaviour
{
public void StartCameraMovementCommand()
{