Class cc.Hide
- Defined in: CCActionInstant.js
- Extends cc.ActionInstant
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Hide()
Hide the node.
|
Method Summary
Class Detail
cc.Hide()
Hide the node.
Field Detail
Hide the node. Please use cc.hide instead.
// example var hideAction = cc.hide();
- Deprecated:
-
since v3.0
Please use cc.hide instead.
Method Detail
-
{cc.Hide} clone()to copy object with deep copy. returns a clone of action.
- Returns:
- {cc.Hide}
-
{cc.Show} reverse()returns a reversed action.
For example:
- The action will be x coordinates of 0 move to 100.
- The reversed action will be x of 100 move to 0. - Will be rewritten- Returns:
- {cc.Show}
-
update(dt)Called once per frame. Time is the number of seconds of a frame interval.
- Parameters:
- {Number} dt