Disable Script attached to Object at Run-time

26 views
Skip to first unread message

Ruba

unread,
Mar 2, 2012, 12:35:17 PM3/2/12
to Activate3D-ICM
Hey Guys,

I've been trying to disable/enable the "AngledSmoothFollow" Script
that I've attached to a Camera at run-time but it's not working!
I need some help to disable the camera or disable the script
temporarily at run-time.
any suggestions?

Thanks,
Ruba Al-Sa'di

Dan

unread,
Mar 5, 2012, 10:29:56 AM3/5/12
to Activate3D-ICM

Ruba

unread,
Mar 9, 2012, 7:28:57 AM3/9/12
to Activate3D-ICM
Thanks for the help ..

On Mar 5, 5:29 pm, Dan <amer...@activate3d.com> wrote:
> The property Behavior.enabled which is inherited into MonoBehavior
> should be what you're looking for:http://unity3d.com/support/documentation/ScriptReference/MonoBehaviou...http://unity3d.com/support/documentation/ScriptReference/Behaviour-en...
Reply all
Reply to author
Forward
0 new messages