2D Toolkit Forum
2D Toolkit => Support => Topic started by: mr_malee on September 17, 2013, 03:00:35 am
-
hey, just wondering if there's an easy way to set sprite visibility in 2d toolkit? I would still like my game object to be active.
-
Yes, you can set the 'enabled' property on the sprite component.
-
Almost correct - its the mesh renderer you want to turn off here to turn of the rendering. .renderer.enabled = false will do the job.
-
thanks