Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-code-divider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-code-divider
Commits
52485bd2
Commit
52485bd2
authored
Mar 25, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加getAssetByName方法
parent
2ab6ba47
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
3 deletions
+15
-3
index.es.js
dist/index.es.js
+3
-0
index.es.js.map
dist/index.es.js.map
+1
-1
index.js
dist/index.js
+3
-0
index.js.map
dist/index.js.map
+1
-1
index.umd.js
dist/index.umd.js
+3
-0
index.umd.js.map
dist/index.umd.js.map
+1
-1
CustomManager.js
src/CustomManager.js
+3
-0
No files found.
dist/index.es.js
View file @
52485bd2
...
...
@@ -150,6 +150,9 @@ var module = {
function getAssetByUUID(uuid){
return engine.resolveCustomAsset('
${
id
}
', uuid);
}
function getAssetByName(name){
return getAssetByUUID(engine.getAssetByName(name).uuid);
}
function getProps(){
return engine.getProps('
${
id
}
');
}
...
...
dist/index.es.js.map
View file @
52485bd2
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
52485bd2
...
...
@@ -156,6 +156,9 @@ var module = {
function getAssetByUUID(uuid){
return engine.resolveCustomAsset('
${
id
}
', uuid);
}
function getAssetByName(name){
return getAssetByUUID(engine.getAssetByName(name).uuid);
}
function getProps(){
return engine.getProps('
${
id
}
');
}
...
...
dist/index.js.map
View file @
52485bd2
This diff is collapsed.
Click to expand it.
dist/index.umd.js
View file @
52485bd2
...
...
@@ -155,6 +155,9 @@ var module = {
function getAssetByUUID(uuid){
return engine.resolveCustomAsset('
${
id
}
', uuid);
}
function getAssetByName(name){
return getAssetByUUID(engine.getAssetByName(name).uuid);
}
function getProps(){
return engine.getProps('
${
id
}
');
}
...
...
dist/index.umd.js.map
View file @
52485bd2
This diff is collapsed.
Click to expand it.
src/CustomManager.js
View file @
52485bd2
...
...
@@ -23,6 +23,9 @@ var module = {
function getAssetByUUID(uuid){
return engine.resolveCustomAsset('
${
id
}
', uuid);
}
function getAssetByName(name){
return getAssetByUUID(engine.getAssetByName(name).uuid);
}
function getProps(){
return engine.getProps('
${
id
}
');
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment