mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Elevator Proxies
This commit is contained in:
parent
cb60226ced
commit
41ba7affc5
5 changed files with 967 additions and 925 deletions
13
Scripts/Actors/ElevatorProxy3D.cs
Normal file
13
Scripts/Actors/ElevatorProxy3D.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Actors;
|
||||
|
||||
public partial class ElevatorProxy3D : Path3D, IActivable
|
||||
{
|
||||
[Export] public Elevator3D Elevator { get; private set; }
|
||||
public bool Activate(ActivationType activationType = ActivationType.Toggle)
|
||||
{
|
||||
return Elevator.Activate(activationType);
|
||||
}
|
||||
|
||||
}
|
||||
1
Scripts/Actors/ElevatorProxy3D.cs.uid
Normal file
1
Scripts/Actors/ElevatorProxy3D.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://2fm2civ8ihgs
|
||||
Loading…
Add table
Add a link
Reference in a new issue