An open API service indexing awesome lists of open source software.

https://github.com/starpelly/starpellylib

Tools for Unity
https://github.com/starpelly/starpellylib

unity

Last synced: 2 months ago
JSON representation

Tools for Unity

Awesome Lists containing this project

README

          

# Starpelly
Tools for Unity

Simulates the "A" key press every 0.6 seconds:
```cs
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);
}
}
}

```