Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to delete a canvas with cubes in it?

Discussion in 'Editor & General Support' started by unity_frIWDtmwGiNyDw, Aug 29, 2020.

  1. unity_frIWDtmwGiNyDw

    unity_frIWDtmwGiNyDw

    Joined:
    Mar 16, 2020
    Posts:
    1
    So, I've got 1 canvas with cubes in it and the canvas with the cubes in another canvas.
    How do I delete the complete canvas? Such solution as "Destroy(GameObject.Find("Canvas"));" didn't work for me.

    Help would be appreciated! Thank you.