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 "Hidden/Custom/Grayscale" | |
{ | |
HLSLINCLUDE | |
#include "Packages/com.unity.postprocessing/PostProcessing/Shaders/StdLib.hlsl" | |
TEXTURE2D_SAMPLER2D(_MainTex, sampler_MainTex); | |
float _Blend; | |
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
/// <summary> | |
/// Gets the local currency symbol based on system language. Due to a bug in Mono 2.x, string.Format("c") will not recognize regional currency info and defaults to EN-US ($). | |
/// Contact: [email protected] | |
/// </summary> | |
/// <seealso href="http://www.xe.com/symbols.php"/> | |
/// <permission href="https://creativecommons.org/licenses/by/2.0/" /> | |
/// <returns>The local currency symbol.</returns> | |
public static string GetLocalCurrencySymbol() { | |
Hashtable symbols = new Hashtable(); |