mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
adjust error message
This commit is contained in:
@@ -44,7 +44,7 @@ proto.setStencil = function(stencil){
|
||||
if (stencil instanceof cc.DrawNode) {
|
||||
|
||||
}else{
|
||||
cc.error('do not support other type as stencil');
|
||||
cc.error('only cc.DrawNode is accepted as stencil');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user