- Home /
This question was
closed Jan 25, 2019 at 11:19 PM by
el-mas-pro-470 for the following reason:
Fixed!
Question by
el-mas-pro-470 · Jan 25, 2019 at 11:14 PM ·
objectfunctionsetactive
If object set active play function? Help!
Hello! how to i make what a game object set active is true, play a function? Thanks!
if(Input.GetButton("Fire1") && Time.time >= NextTimeToFire && WeaponObject.SetActive(true))
Comment
Follow this Question
Related Questions
how do I make a Object getcomponent and call a function 1 Answer
Script not function if mouse is on object 1 Answer
How to setActive an Object form another scene? Help please. 2 Answers
Calling a function from a different script on the same object 1 Answer
How to call a function from a script component on another object 1 Answer