mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 06:25:55 +00:00
Changed events to generic node
This commit is contained in:
parent
b89043cd8c
commit
7b2d32e727
17 changed files with 166 additions and 135 deletions
|
|
@ -11,7 +11,7 @@ public partial class CameraTargetEvent : CameraTargetPlayerEvent
|
|||
[Export]
|
||||
public Vector2 Offset { get; private set; }
|
||||
|
||||
public override void Start(Node2D parent)
|
||||
public override void Start(Node parent)
|
||||
{
|
||||
GameManager.Instance.CameraTargetObject(parent.GetNode<Node2D>(Target), Offset);
|
||||
_isComplete = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue