mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Merge pull request #94 from nantas/master
add tooltip for node and component title.
This commit is contained in:
@@ -239,7 +239,8 @@ var Component = cc.Class({
|
||||
}
|
||||
},
|
||||
displayName: 'Script',
|
||||
type: cc._Script
|
||||
type: cc._Script,
|
||||
tooltip: 'i18n:INSPECTOR.component.script'
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -235,8 +235,7 @@ var BaseNode = cc.Class(/** @lends cc.Node# */{
|
||||
this._sgNode.rotation = value;
|
||||
this.emit(ROTATION_CHANGED, old);
|
||||
}
|
||||
},
|
||||
tooltip: "The clockwise degrees of rotation relative to the parent"
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user