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
| // ==UserScript== | |
| // @name ChatGPT GDScript Syntax Highlighter | |
| // @name:zh-CN ChatGPT GDScript 代码高亮 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Highlights GDScript code in the ChatGPT web interface using Prism.js. | |
| // @description:zh-CN 为 ChatGPT 网页版的 GDScript 代码片段提供语法高亮,自动适配暗色/亮色主题,基于 Prism.js。 | |
| // @author Anonymous | |
| // @match https://chatgpt.com/* | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js |
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
| // ==UserScript== | |
| // @name Gemini GDScript Syntax Highlighter | |
| // @name:zh-CN Gemini GDScript 代码高亮 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.3 | |
| // @description Highlights GDScript code in the Gemini web interface using Prism.js. | |
| // @description:zh-CN 为 Gemini 网页版的 GDScript 代码片段提供语法高亮,基于 Prism.js。 | |
| // @author Anonymous | |
| // @match https://gemini.google.com/* | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js |
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; | |
| public class ParallaxLayer : MonoBehaviour | |
| { | |
| public Transform originalPosition; | |
| public Transform layerPosition; | |
| public float _xFator; | |
| public float _yFator; |