分类 默认分类 下的文章
certbot 指定pythond版本
python3.8 /usr/local/bin/certbot certonly --webroot -w /wwwroot/abc -d abc.com -d www.abc.com
centos查看目录下所有目录空间占用情况
查询根目录
du -ah --max-depth=1 /
查询特定目录
du -ah --max-depth=1 /usr/local/nginx/
Ethereum Nodes 以太坊节点
RIVET
https://rivet.cloud/
Visit website to get API key
Alchemy
https://alchemyapi.io
Visit website to get API key
Infura
https://infura.io
Visit website to get API key
Moralis
https://moralis.io
Visit website to get API key
Flashbots Protect
https://flashbots.net5
https://rpc.flashbots.net
Cloudflare
https://cloudflare-eth.com
LinkPool
https://linkpool.io
QuickNode
https://quicknode.com
MyEtherWallet
https://myetherwallet.com
Ankr
https://ankr.com
MyCrypto
https://mycrypto.com
ArchiveNode
https://archivenode.io
Chainstack
https://chainstack.com/
Visit website to get API key
Flux
https://runonflux.io/
https://ethereumnodelight.app.runonflux.io
Omnia
https://omniatech.io/
Visit website to get API key
Unity3d 场景切换
1. 在自己的资源目录Scenes目录新建场景(1个或者多个)
2. 在Unity中 File->Build Settings->把要切换的场景添加到Scenes In Build下面,也可以Add Open Scenes,添加完关闭这个页面,不用点 Build 或者 Build And Run(这个时直接打包成执行文件的)
3. 添加进来
4. 代码示例
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;//切换场景,必须要引用此类
public class SceneTransform : MonoBehaviour {
void Update () {
if (Input.GetKey("n")) {
SceneManager.LoadScene("SceneName");//加载场景 场景名字
}
}
}