mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update all instances of instance() to instantiate()
This commit is contained in:
@@ -132,7 +132,7 @@ To get an instance of the scene, you have to use the
|
||||
|
||||
public void OnShoot()
|
||||
{
|
||||
Node bullet = _bulletScene.Instance();
|
||||
Node bullet = _bulletScene.Instantiate();
|
||||
AddChild(bullet);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user