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
| /* eslint-disable @typescript-eslint/no-explicit-any */ | |
| /* eslint-disable @typescript-eslint/no-unsafe-function-type */ | |
| /* eslint-disable @typescript-eslint/no-empty-object-type */ | |
| declare module "@mojs/core" { | |
| const mojs: { | |
| Shape: typeof mojsNamespace.Shape; | |
| addShape: typeof mojsNamespace.addShape; | |
| Module: typeof mojsNamespace.Module; | |
| CustomShape: typeof mojsNamespace.CustomShape; | |
| Tweenable: typeof mojsNamespace.Tweenable; |
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
| 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 |
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
| [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 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/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 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
| using System.Collections.Generic; | |
| using Sirenix.OdinInspector; | |
| using UnityEngine; | |
| public enum IsoAlignmentOption { | |
| NorthSouth, | |
| EastWest, | |
| NorthEastSouthWest, | |
| NorthWestSouthEast | |
| } |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEngine; | |
| using Zenject; | |
| public enum IsoSortType { | |
| Point, | |
| Line | |
| } |
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
| 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 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
| { | |
| "environment": "production", | |
| "extra": { | |
| "crashed_process": "browser" | |
| }, | |
| "release": "[email protected]", | |
| "user": { | |
| "ip_address": "{{auto}}" | |
| }, | |
| "tags": { |
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
| const {app, BrowserWindow} = require('electron') | |
| let mainWindow | |
| function createWindow () { | |
| mainWindow = new BrowserWindow({ | |
| width: 800, | |
| height: 600, | |
| show: false, | |
| paintWhenInitiallyHidden: false, |
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> | |
| <meta charset="UTF-8"> | |
| <title>Hello World!</title> | |
| <link rel="stylesheet" type="text/css" href="./styles.css"> | |
| </head> | |
| <body> | |
| <h1>Hello World!</h1> | |
| <!-- All of the Node.js APIs are available in this renderer process. --> |
NewerOlder