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
| (function clickPocalypseBot() { | |
| const mouseupEvent = new MouseEvent('mouseup', { | |
| bubbles: true, // Allows the event to bubble up the DOM tree | |
| cancelable: true, // Allows the event to be canceled | |
| view: window, // The window in which the event occurred | |
| clientX: 100, // X-coordinate of the mouse pointer | |
| clientY: 150, // Y-coordinate of the mouse pointer | |
| button: 0, // 0 for left button, 1 for middle, 2 for right | |
| buttons: 0 // Indicates no buttons are currently pressed | |
| }); |
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 UnityEditor; | |
| using UnityEngine; | |
| public class SpritesheetSlicer : ScriptableWizard | |
| { | |
| public bool mipmapEnabled = false; | |
| public FilterMode filterMode = FilterMode.Point; | |
| public Vector2 spritePivot = Vector2.zero; | |
| public TextureImporterCompression textureImporterCompression = TextureImporterCompression.Uncompressed; |