🧙♂️
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
Shader "Unlit/Panner" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Color Texture", 2D) = "white" {} | |
_MaskTex ("Mask Texture", 2D) = "white" {} | |
_MFade("Mask Fade", Range(0,1)) = 0.2 | |
_MIntesity("Mask Intesity", Float) = 1 | |
_SpeedU("Color SpeedU", Float) = 1 |
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; | |
using UnityEngine.InputSystem; | |
using UnityEngine.InputSystem.EnhancedTouch; | |
using Touch = UnityEngine.InputSystem.EnhancedTouch.Touch; | |
[AddComponentMenu("Debug/Float Camera Controller")] | |
public class DebugCameraController : MonoBehaviour | |
{ | |
public float lookSpeedH = 5f; |