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
| @echo off | |
| set "myvar=C:\test folder\subfolder\test file.txt" | |
| for %%Q in ("%myvar%") do ( | |
| echo full: %%~fQ | |
| echo drive: %%~dQ | |
| echo path: %%~pQ | |
| echo name: %%~nQ | |
| echo ext: %%~xQ | |
| echo dir+name: %%~dpnQ | |
| ) |
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 "Custom/AlwaysOnTopShader" | |
| { | |
| Properties | |
| { | |
| [NoScaleOffset] _MainTex("Texture", 2D) = "white" {} | |
| _Color("Tint", Color) = (1,1,1,1) | |
| } | |
| SubShader | |
| { |
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
| public static class NumberExtensions | |
| { | |
| public static float Smooth(float amount, float start, float end) | |
| { | |
| // Clamp to 0-1; | |
| amount = (amount > 1f) ? 1f : amount; | |
| amount = (amount < 0f) ? 0f : amount; | |
| // Cubicly adjust the amount value. | |
| amount = (amount * amount) * (3f - (2f * amount)); |
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
| @echo off | |
| set UATpath="C:\EpicGames\UE_4.24\Engine\Binaries\DotNET\UnrealBuildTool.exe" | |
| if exist Intermediate ( | |
| echo Intermediate | |
| rmdir Intermediate /s /q | |
| ) | |
| if exist intermediate ( | |
| echo intermediate | |
| rmdir intermediate /s /q |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| var data | |
| var formId = 'form' | |
| function drawForm() { | |
| if (!data) return | |
| var outputEl = document.getElementById(formId); |