![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | AlMoeSharpton86 |
I have a Color React parent node that a animationplayer inherits from with an attached signal. I can’t seem to get the animation to play, even though I have made sure the Fade-in animation is there and attached.
Please see linked image - https://ibb.co/25pm49F
So the anim exists, but Godot can’t seem to find it?
Is this a Godot C# bug or I’m I missing something? I have also tried, with the two words’s first letters capitalized too.
My C# Code
var FadeIn = new FadeIn();
FadeIn.Show();
var AnimationPlayer = new AnimationPlayer();
AnimationPlayer.Play("fade_in");
My full Error
E 0:00:02:0917 Animation not found: fade_in
<C Source> scene/animation/animation_player.cpp:1142 @ play()
<Stack Trace> :0 @ void Godot.NativeCalls.godot_icall_4_115(IntPtr , IntPtr , System.String , Single , Single , Boolean )()
AnimationPlayer.cs:329 @ void Godot.AnimationPlayer.Play(System.String , Single , Single , Boolean )()
MainMenuScreen.cs:16 @ void MainMenuScreen._Ready()()
Thank you!