unity-test-runner/unity-project-with-correct-.../Assets/Scripts/SampleComponent.cs

18 lines
249 B
C#
Raw Normal View History

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