FittsLaw/Assets/Prefabs/DotWrapper.cs
2018-10-14 19:55:46 -04:00

22 lines
497 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DotWrapper : MonoBehaviour
{
private ExperimentController experimentController;
void Awake()
{
experimentController = GameObject.Find("GameManager").GetComponent<ExperimentController>();
}
public void NextDot()
{
experimentController.NextDot();
}
public void BackToStart()
{
experimentController.BackToStart();
}
}