18 lines
309 B
C#
18 lines
309 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class RoamingWorkerAnimationEvents : MonoBehaviour
|
||
|
|
{
|
||
|
|
public WorkerBeltRoamingBehaviour roamingBehaviour;
|
||
|
|
|
||
|
|
public void WorkerGotUp()
|
||
|
|
{
|
||
|
|
roamingBehaviour.ContinueRoaming();
|
||
|
|
}
|
||
|
|
|
||
|
|
public void PauseTween()
|
||
|
|
{
|
||
|
|
roamingBehaviour.PauseRoaming();
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|