mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +00:00
923dd15597
I spent about 6 hours trying to fix this one specific bug involving the move undo. Turns out all I had to do was calm down and think logically instead of typing random bullshit for a few hours until it worked. I'm tired and I thank this for ruining my sleep schedule. |
||
---|---|---|
.. | ||
Enums | ||
OperatingSystems | ||
Properties | ||
Shaders | ||
Anchors.cs | ||
Anchors.cs.meta | ||
Colors.cs | ||
Colors.cs.meta | ||
Common.cs | ||
Common.cs.meta | ||
Enums.meta | ||
Extensions.cs | ||
Extensions.cs.meta | ||
Math.cs | ||
Math.cs.meta | ||
OperatingSystems.meta | ||
Pelly.cs | ||
Pelly.cs.meta | ||
Properties.meta | ||
Random.cs | ||
Random.cs.meta | ||
README.md | ||
README.md.meta | ||
RendererExtensions.cs | ||
RendererExtensions.cs.meta | ||
ScreenUtility.cs | ||
ScreenUtility.cs.meta | ||
Shaders.meta | ||
Starpelly.cs | ||
Starpelly.cs.meta | ||
Textures.cs | ||
Textures.cs.meta | ||
Transformer.cs | ||
Transformer.cs.meta | ||
User32.cs | ||
User32.cs.meta | ||
Utils.cs | ||
Utils.cs.meta |
Starpelly
Tools for Unity
Simulates the "A" key press every 0.6 seconds:
using UnityEngine;
using Starpelly.OS;
public class test : MonoBehaviour
{
private float action = 0.0f;
private float period = 0.6f;
private void Start()
{
Application.runInBackground = true;
}
private void Update()
{
if (Time.time > action)
{
action += period;
Windows.KeyPress(Starpelly.KeyCodeWin.KEY_A);
}
}
}