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
| Texture2D shaderTexture; | |
| SamplerState samplerState; | |
| cbuffer PixelShaderSettings | |
| { | |
| float Time; | |
| float Scale; | |
| float2 Resolution; | |
| float4 Background; | |
| }; |
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 System.Text; | |
| namespace UnityEngine.EventSystems | |
| { | |
| [AddComponentMenu("Event/Touch Input Module")] | |
| public class TouchInputModule : PointerInputModule | |
| { | |
| protected TouchInputModule() | |
| {} |
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 System; | |
| using System.Collections.Generic; | |
| using UnityEngine.Events; | |
| // interface you implement in your MB to receive events | |
| public interface ICustomHandler : IEventSystemHandler | |
| { | |
| void OnCustomCode(CustomEventData eventData); | |
| } |
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 System.Collections.Generic; | |
| using System.Text; | |
| namespace UnityEngine.EventSystems | |
| { | |
| public abstract class PointerInputModule : BaseInputModule | |
| { | |
| public const int kMouseId = -1; | |
| public const int kFakeTouchesId = -2; |
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
| /* | |
| * This code is provided as is without warranty, guarantee of function, | |
| * or provided support | |
| */ | |
| using System.Collections; | |
| using UnityEngine.Events; | |
| namespace UnityEngine.UI.CoroutineTween | |
| { |