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
..
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
2021-12-18 23:10:43 -05:00
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);
        }
    }
}