• Contact Me
  • About Me
  • Blog

Lucy's Tech Dev Blog

Toggle GameObject Visibility – Unity

Posted on October 23, 2020March 2, 2021 by Lucy Estela
if(gameObject.activeSelf){
    gameObject.SetActive(false);
}else{
    gameObject.SetActive(true);
}
Posted in UnityTagged GameObject, setActive, unity, visibilty

Post navigation

← Dictation Recognizer – Unity
From Unity to Hololens →

Recent Posts

  • Unreal and Hololens 2 – Step 7 UX Tools
  • Epic Unreal Metahumans in Hololens 2
  • Unreal – Animating Your Metahuman with Live Link Face
  • Unreal and Hololens 2 – Step 6 Making your scene interactive
  • Unreal and Hololens 2 – Step 5 Set Up for Mixed Reality

Archives

  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • June 2020

Categories

  • Blog
  • Hololens 2
  • Uncategorized
  • Unity
  • Unreal
Powered By DreamHost