Barrier
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
public partial class Barrier : Node3D
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
[Node] public AnimationPlayer Fader { get; set; }
|
||||
|
||||
public void FadeIn()
|
||||
{
|
||||
Fader.Play("fade_in");
|
||||
}
|
||||
|
||||
public void FadeOut()
|
||||
{
|
||||
Fader.Play("fade_out");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://b43uny7cxx4bw
|
||||
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_q0ipf")
|
||||
UsableItemTag = 0
|
||||
UsableItemTag = 2
|
||||
ElementalDamageType = 0
|
||||
InitialCount = 0
|
||||
Name = "Persiko"
|
||||
|
||||
Reference in New Issue
Block a user