示例#1
0
 // Called when the node enters the scene tree for the first time.
 public override void _Ready()
 {
     bulletBrain = (bulletBrain)GetNode("/root/game/bullets/bulletBrain");
     player      = (player)GetNode("/root/game/player");
 }
示例#2
0
 // Called when the node enters the scene tree for the first time.
 public override void _Ready()
 {
     _bulletBrain = (bulletBrain)GetNode("/root/game/bullets/bulletBrain");
     updateUI();
 }
示例#3
0
 // Called when the node enters the scene tree for the first time.
 public override void _Ready()
 {
     bulletBrain = (bulletBrain)GetNode("/root/game/bullets/bulletBrain");
     updateUI();
     canShoot = true;
 }
示例#4
0
 // Called when the node enters the scene tree for the first time.
 public override void _Ready()
 {
     bulletBrain = (bulletBrain)GetNode("/root/game/bullets/bulletBrain");
     loadHighScore();
     updateUI();
 }