Hide And Show Game Object Unity Code Example


Example: how to hide and show object in unity script


GameObject cat; 
cat.SetActive(false); // false to hide, true to show

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable