game(scripts): lift groundwork
This commit is contained in:
parent
158816fbc5
commit
009ca4053c
23
RunningLateGame/Assets/Scripts/LiftButtonInteractable.cs
Normal file
23
RunningLateGame/Assets/Scripts/LiftButtonInteractable.cs
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/*
|
||||||
|
* authors: mark joshwel
|
||||||
|
* date: 10/8/2024
|
||||||
|
* description: lift button behaviour implementation
|
||||||
|
*/
|
||||||
|
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lift button behaviour implementation
|
||||||
|
/// </summary>
|
||||||
|
public class LiftButtonInteractable : CommonInteractable
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// the lift the button is controlling
|
||||||
|
/// </summary>
|
||||||
|
[SerializeField] private LiftController liftController;
|
||||||
|
|
||||||
|
public override void Interact()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f51ae3c1dda14e8f953c345038325df0
|
||||||
|
timeCreated: 1723277530
|
14
RunningLateGame/Assets/Scripts/LiftController.cs
Normal file
14
RunningLateGame/Assets/Scripts/LiftController.cs
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
* authors: mark joshwel
|
||||||
|
* date: 10/8/2024
|
||||||
|
* description: lift behaviour implementation
|
||||||
|
*/
|
||||||
|
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lift-ting behaviour for lifts
|
||||||
|
/// </summary>
|
||||||
|
public class LiftController : MonoBehaviour
|
||||||
|
{
|
||||||
|
}
|
3
RunningLateGame/Assets/Scripts/LiftController.cs.meta
Normal file
3
RunningLateGame/Assets/Scripts/LiftController.cs.meta
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 16f14e51af8048f39d3f22da58d2df23
|
||||||
|
timeCreated: 1723277629
|
Reference in a new issue