This file contains 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
[Ll]ibrary/ | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]in/ | |
[Bb]uild/ | |
[Bb]uilds/ | |
[Ll]ogs/ | |
[Uu]ser[Ss]ettings/ | |
[Mm]emory[Cc]aptures/ | |
[Ss]erialized[Bb]uild[Ii]nfo/ |
This file contains 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 "URP 2D/Sprite-Unlit-SRP-Batching" | |
{ | |
Properties | |
{ | |
_MainTex ("Sprite Texture", 2D) = "white" {} | |
// Legacy properties. They're here so that materials using this shader can gracefully fallback to the legacy sprite shader. | |
[HideInInspector] _Color ("Tint", Color) = (1,1,1,1) | |
[HideInInspector] PixelSnap ("Pixel snap", Float) = 0 | |
[HideInInspector] _RendererColor ("RendererColor", Color) = (1,1,1,1) |
This file contains 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 "NSprites/RegularNSprites_Builtin_Shader" | |
{ | |
Properties | |
{ | |
_MainTex("_MainTex", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags { "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" } |
This file contains 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 Cysharp.Text; | |
using TMPro; | |
using System; | |
public class TestString : MonoBehaviour | |
{ | |
[SerializeField] private int loopAmount = 1000; | |
[SerializeField] private TMP_Text tmp; | |
This file contains 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.Diagnostics; | |
using System.Runtime.CompilerServices; | |
class Program | |
{ | |
const int MAX = 10000000; | |
static void Main() | |
{ | |
// ... Compile the methods. |
This file contains 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 UnityEngine; | |
namespace Examples | |
{ | |
public partial class ExampleBehaviour : MonoBehaviour | |
{ | |
private static readonly UnityEngine.Profiling.Recorder s_recorder; | |
static ExampleBehaviour() |