• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

About deleting structs

E

Emily

Guest
Recently I started using classes (structs).
I have a question,
After creating an instance of the class with the object create event
If I delete my own object in a step event, will the class instance also be destroyed?
Or is it still in memory and must be deleted using some function?

#object1 create event

class = new Class();

#object1 step event

instance_destroy();
 
Top