HeavenStudioPlus/Assets/Plugins/Starpelly
Braedon 1ed2291844 Command pattern (Undo/Redo) system began. (Read desc)
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.
2022-01-22 05:44:19 -05:00
..
Enums Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
OperatingSystems Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Properties Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Shaders Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Anchors.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Anchors.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Colors.cs Dynamic editor theme (WIP), read desc for more info 2022-01-13 21:33:51 -05:00
Colors.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Common.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Common.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Enums.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Extensions.cs Command pattern (Undo/Redo) system began. (Read desc) 2022-01-22 05:44:19 -05:00
Extensions.cs.meta Command pattern (Undo/Redo) system began. (Read desc) 2022-01-22 05:44:19 -05:00
Math.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Math.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
OperatingSystems.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Pelly.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Pelly.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Properties.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Random.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Random.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
README.md Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
README.md.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
RendererExtensions.cs bare bones selection system 2022-01-12 22:59:54 -05:00
RendererExtensions.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
ScreenUtility.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
ScreenUtility.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Shaders.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Starpelly.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Starpelly.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Textures.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Textures.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Transformer.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Transformer.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
User32.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
User32.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Utils.cs Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00
Utils.cs.meta Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00

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);
        }
    }
}