init commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Godot;
|
||||
|
||||
public partial class SpawnPoint : Node3D {
|
||||
Options _Options;
|
||||
Reference _Reference;
|
||||
|
||||
public override void _EnterTree() {
|
||||
_Reference = GetNode<Reference>("/root/Reference");
|
||||
_Reference.PlayerSpawnPoints = this.GetChild<Node3D>(0);
|
||||
_Reference.ItemSpawnPoints = this.GetChild<Node3D>(1);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user