private static void buffer()
{
gMenue = GameObject.Find("InterfaceBuffer").AddComponent<Menue>().GetComponent<Menue>();
}
private static void clearBuffer()
{
Destroy(gMenue);
}
I got this code (snippet from a class), and I just want to know, whether this only destroys the "Menue" component of the GameObject tagged as "InterfaceBuffer".
Thank you very much.