Add some component tests to reference unity project (#86)

* Add some component tests to reference unity project

* Use action/setup-node@v2 to avoid problems with build
This commit is contained in:
Vladimir Kryukov
2021-01-11 02:05:44 +02:00
committed by GitHub
parent 26807aaf05
commit e1be8325cd
10 changed files with 180 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
using UnityEngine;
public class SampleComponent : MonoBehaviour
{
public BasicCounter Counter;
void Start()
{
Counter = new BasicCounter(5);
}
// Update is called once per frame
void Update()
{
Counter.Increment();
}
}