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
const {app, BrowserWindow} = require('electron') | |
let mainWindow | |
function createWindow () { | |
mainWindow = new BrowserWindow({ | |
width: 800, | |
height: 600, | |
show: false, | |
paintWhenInitiallyHidden: false, |
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
{ | |
"environment": "production", | |
"extra": { | |
"crashed_process": "browser" | |
}, | |
"release": "Slack@4.13.0-alpha1", | |
"user": { | |
"ip_address": "{{auto}}" | |
}, | |
"tags": { |
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
import { MutableRefObject, useEffect, useMemo, useRef, useState } from 'react'; | |
import { Clock, Euler, MathUtils, Object3D, Vector3 } from 'three'; | |
import { SimplexNoise } from 'three-stdlib'; | |
import { ShakeController } from '@react-three/drei'; | |
import { useFrame } from '@react-three/fiber'; | |
export interface ShakeControllerParam { | |
max: number; | |
frequency: number; |
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 System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using Zenject; | |
public enum IsoSortType { | |
Point, | |
Line | |
} |
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.Collections.Generic; | |
using Sirenix.OdinInspector; | |
using UnityEngine; | |
public enum IsoAlignmentOption { | |
NorthSouth, | |
EastWest, | |
NorthEastSouthWest, | |
NorthWestSouthEast | |
} |
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 "Custom/ParticleRotation" { | |
Properties { | |
_MainTex ("Particle Texture", 2D) = "white" {} | |
_TintColor ("Tint Color", Color) = (1, 1, 1, 1) | |
} | |
SubShader { | |
Tags {"Queue"="Transparent" "RenderType"="Transparent"} | |
LOD 100 |
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
[Serializable] | |
[JsonObject(MemberSerialization.OptIn)] | |
public class Item { | |
[JsonProperty] | |
public string Id; | |
// ... other stuff | |
/// <summary> | |
/// This only needs to be implemented for *mutable* serialized properties. |
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 TMPro; | |
using Sirenix.OdinInspector; | |
/// <summary> | |
/// An extension of TextMeshPro that causes the text to be displayed in a | |
/// circular arc. | |
/// | |
/// Adapted from https://github.com/TonyViT/CurvedTextMeshPro and improved. | |
/// TonyViT's version has some unnecessary properties and doesn't use the |
OlderNewer