unity-test-runner/unity-package-with-correct-.../com.dependencyexample.testp.../Runtime/TimerFeature/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();
}
}