Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
how to hide and show object in unity script
Sachin dahiya
Programming language:
C#
2021-05-09 18:38:47
0
Q:
how to hide and show object in unity script
Yu Kang Choi
Code:
C#
2021-04-02 01:45:23
GameObject cat; cat.SetActive(false); // false to hide, true to show
4
Tags
unity
object
show
unit
how
script
Related
how to lock and hide a cursor unity
detect object click unity
unity how to check object position
how to check if an object is active in unity
hot to move pobject unity
unity hide in inspector
unity hide mouse
unity hide mouse first person
how to move towards an object unity
how to acivate a game object unity
how to hide a panel ui unity
to hide or show a canvas in unity
New to Communities?
Join the community