FittsLaw/Assets/Prefabs/DotWrapper.cs

22 lines
497 B
C#
Raw Normal View History

2018-10-14 19:55:46 -04:00
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();
}
}