I am new to android gaming, the engine for the development that I am using is Wiengine.
I want to know how can I destroy a Layer with its child
I am new to android gaming, the engine for the development that I am
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i figured out how to do it
this will remove children of layer
layer.removeAllChild(true);
and this will remove layer with its children
this.removeChild(layer, true);