mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 17:15:55 +00:00
Shadows decals
This commit is contained in:
parent
01a852de9b
commit
1dfce7802b
12 changed files with 5344 additions and 1520 deletions
|
|
@ -23,7 +23,7 @@ public partial class EnemyMarker3D : PreviewMarker3D, IActivable
|
|||
if (Engine.IsEditorHint())
|
||||
{
|
||||
//QueueRedraw();
|
||||
this.Texture = _enemy.IconSprite;
|
||||
this.Texture = _enemy?.IconSprite;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -76,7 +76,11 @@ public partial class EnemyMarker3D : PreviewMarker3D, IActivable
|
|||
//SetSpriteAlpha(0.5f);
|
||||
}
|
||||
|
||||
var asdf = props["asdf"].AsString();
|
||||
GD.Print(asdf);
|
||||
|
||||
var scriptPath = props["resource_path"].AsString();
|
||||
GD.Print(scriptPath);
|
||||
if (!string.IsNullOrWhiteSpace(scriptPath))
|
||||
{
|
||||
Enemy = GD.Load<EnemyResource>(scriptPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue