L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 12 May 2014 05:09 PM |
| How do I disable the move tool? I've seen plugins do this before. Thanks! |
|
|
| Report Abuse |
|
|
|
| 12 May 2014 05:33 PM |
Assuming that button = the button you created
button:SetActive(true) |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 12 May 2014 05:38 PM |
Thanks, but now I am having trouble enabling it. When I do:
button:SetActive(false)
It doesn't put the tool back to the move tool. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 12 May 2014 05:47 PM |
| Are you still on this forum clone? |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
| |
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 12 May 2014 06:30 PM |
| Anyone else want to help out? |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
| |
|
|
| 12 May 2014 06:59 PM |
| Uhh, I think you're kinda stuck. All you can do is exit your plugin. Studio doesn't "remember" which tool was used before the plugin was selected. It just defaults back to the arrow. |
|
|
| Report Abuse |
|
|