This file contains hidden or 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; | |
namespace IbraUtils.Scrolling | |
{ | |
public class InfiniteScroll : MonoBehaviour | |
{ | |
private Material _material; | |
private Vector2 _scrollVelocity; | |
[SerializeField] private float xVelocity, yVelocity; |
This file contains hidden or 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; | |
namespace IbraUtils.CameraShaking | |
{ | |
/// <summary> | |
/// A simple camera shake script. Just call CameraShake.ShakeOnce() | |
/// </summary> | |
public class CameraShake : MonoBehaviour | |
{ |