13 lines
291 B
C#
13 lines
291 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class PowerBar : ProgressBar
|
|
{
|
|
|
|
|
|
public override void _Process(double DELTA_)
|
|
{
|
|
// Value = GetParent().GetNode<Manager>("Manager").GetNode<Cue>("Cue")._power / GetParent().GetNode<Manager>("Manager").GetNode<Cue>("Cue")._maxPower * 100;
|
|
}
|
|
}
|