Skip to content

Instantly share code, notes, and snippets.

@LeLocTai
LeLocTai / Bubble.shader
Last active March 16, 2023 23:04
Some custom shader for True Shadow
Shader "UI/Bubble"
{
Properties
{
_Scale ("Scale", Float) = 80
_Bubbling ("Bubbling", Float) = 25
_Scroll ("Scroll", Vector) = (0, 1, 0, 0)
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
function makeBox(w, h, l, thick){
return difference(
cube({size: [w + thick, h+thick, l], center: true}),
translate(
[0,0,thick],
cube({size: [w, h, l], center: true})
)
)
}
@LeLocTai
LeLocTai / asset-sale.js
Created September 5, 2019 06:49
For use in Unity Asset Store sale page dev console
(async function get() {
const publisher_id = 17505;
const period = 12; //months
function nextMon(current) {
let mon = --current[1];
let year = current[0];
if (mon < 1) {
year--;
@LeLocTai
LeLocTai / ConEmu.xml
Last active February 19, 2019 09:09
My conemu settings
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2019-02-19 16:05:41" build="180626">
<value name="Language" type="string" data="en"/>
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::cmd}"/>
<value name="StartFarFolders" type="hex" data="00"/>
This file has been truncated, but you can view the full file.
event-img.qwapi.com
adserver-live.yoc.mobi
admax.nexage.com
mm.admob.com
iphone-services.apple.com
iphonesubmissions.apple.com
ads2.greystripe.com
adsx.greystripe.com
c.greystripe.com
a.medialytics.com