basic conveyer function and direction switching stub
This commit is contained in:
11
Assets/DirectionPaddle.cs
Normal file
11
Assets/DirectionPaddle.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class DirectionPaddle : MonoBehaviour
|
||||
{
|
||||
public void Switch()
|
||||
{
|
||||
gameObject.SetActive(!gameObject.activeSelf);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user