- 最后登录
- 2024-6-3
- 注册时间
- 2009-10-16
- 阅读权限
- 100
- 积分
- 18803
- 纳金币
- 17488
- 精华
- 1
|
Deactivate (Miscellaneous Behavior)
Summary
Deactivates another object when an event occurs on the parent.
Category
Latest Behaviors
Author
Gavin Kistner
Difficulty
(Reference)
Time to Complete
5 Minutes
Downloads
Click Here
to download the associated files.
(This document covers version 1.0.1 of the 'Deactivate' behavior, current as of 2005-Feb-11)
Description
Use this behavior to control the
active
property of another object, specified with the
Target Object
property.
When the
Deactivate When
event occurs, the
Target Object
will be deactivated. If
Revert?
is checked, the object will re-activate when the opposite event occurs.
For events which don’t have an obvious opposite event (e.g. onMouseClick) the object will revert when the same event occurs again.
Basic Properties
Target Object
The object to deactivate.
Deactivate When
What event causes the parent to deactivate?
Advanced Properties
Trigger Key
If 'Deactivate When' is 'Key Down', the name of the key to watch for.
Revert?
Reactivate the object when the 'opposite' event occurs?
|
|