Change background color problem

index94

  • Posts: 2
Hi, i created a scene attribute ("Scena") and a color attribute ("Red") and then i tried to use this code:

_Scena.colorBackground = new ColorBackground(_Red);

When i test the game it shows me this error: "Events for 'GameScene' (491) -  Class not found". What is going wrong?