Skip to content

Instantly share code, notes, and snippets.

@sobhanb-eth
sobhanb-eth / ScreenshotTool.cs
Created February 8, 2023 13:35
Handy Unity ScreenshotTool
using UnityEngine;
using UnityEditor;
using Unity.Jobs;
using Unity.Collections;
using Unity.Burst;
public class ScreenshotTool : EditorWindow
{
RenderTexture renderTexture;
int selectedResolutionIndex;
@sobhanb-eth
sobhanb-eth / formula.json
Last active January 5, 2023 22:01
formula
{
"upgradeLevel": 1,
"goldPerTap": "1.0",
"upgradeCost": "100.0",
"initialMultiplier": 5,
"gptPower": "2.1",
"upcPower": "1.08"
}
@sobhanb-eth
sobhanb-eth / MultiverseNFT.sol
Last active December 13, 2022 15:26
Multiverse NFT EIP-5606
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
/**
* Interface of the Multiverse NFT standard as defined in the EIP.
*/
interface IMultiverseNFT {
/**
* struct to store delegate token details
*