Skip to content

Instantly share code, notes, and snippets.

View mtytheone's full-sized avatar
🤔
Learning everything.

Hatze mtytheone

🤔
Learning everything.
View GitHub Profile
@echo off
set PROJECT_NAME=SampleGame
set PROJECT_ROOT_PATH=%CD%\..
set PROJECT_PATH=%PROJECT_ROOT_PATH%\%PROJECT_NAME%\%PROJECT_NAME%.uproject
set ENGINE_PATH="C:\Program Files\UnrealEngine\UE_5.3\Engine\Binaries\Win64\UnrealEditor.exe"
set BUILD_BATCH_PATH="C:\Program Files\UnrealEngine\UE_5.3\Engine\Build\BatchFiles\RunUAT.bat"
:LABEL_SELECT_BUILD_CONFIGULATION
echo Select BuildType. (Debug / Development / Shipping)
set /p SELECT_BUILD_TYPE=" >>> "
@mtytheone
mtytheone / ImageDownload.cs
Last active February 25, 2023 13:20
画像ダウンロードサンプルコード(ブログ用)
using UdonSharp;
using UnityEngine;
using UnityEngine.UI;
using VRC.SDKBase;
using VRC.Udon;
using VRC.SDK3.Image;
using VRC.SDK3.Components;
public class ImageDownload : UdonSharpBehaviour
{
@mtytheone
mtytheone / CRT_Shader.shader
Created July 15, 2021 08:25
CRTの勉強 その①
Shader "CRT_Shader"
{
Properties
{
//_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Cull Off ZWrite Off ZTest Always
Pass
@mtytheone
mtytheone / SimpleGPUParticle.shader
Last active July 8, 2020 11:20
割とシンプルに収めたGPUパーティクルのコード
Shader "HC/Unlit/SimpleGPUParticle"
{
Properties
{
_Size("ParticleSize", Float) = 0.1
[NoScaleOffset] _MainTex ("Texture", 2D) = "white" {}
[HDR] _EmissionColor("Emission", Color) = (1, 1, 1, 1)
}
SubShader
{
using UdonSharp;
using UnityEngine;
using UnityEngine.UI;
using VRC.SDKBase;
using VRC.Udon;
public class SyncSlider : UdonSharpBehaviour
{
[SerializeField] Slider _slider;
[SerializeField] Text _text;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Slide : MonoBehaviour
{
[SerializeField] string _texturePropertyName;
[SerializeField] List<Texture2D> _slideTextureList;