mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Merge branch 'main' into animation
This commit is contained in:
commit
83e7f1d5f5
24 changed files with 284 additions and 208 deletions
|
|
@ -12,7 +12,7 @@ Content-pack folder must contain file **package.json** with following contents:
|
|||
{
|
||||
"id": "pack_id",
|
||||
"title": "pack name will be displayed in the content menu",
|
||||
"version": "content-pack version - major.minor",
|
||||
"version": "content-pack version - major.minor.[patch])",
|
||||
"creator": "content-pack creator",
|
||||
"description": "short description",
|
||||
"dependencies": [
|
||||
|
|
@ -26,6 +26,7 @@ Dependency levels are indicated by prefixes in the name:
|
|||
- '!' - required dependency
|
||||
- '?' - optional dependency
|
||||
- '~' - weak dependency
|
||||
|
||||
If prefix is not specified, '!' level will be used.
|
||||
|
||||
Example: '~randutil' - weak dependency 'randutil'.
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ Properties that apply to all elements:
|
|||
| contentOffset | vec2 | yes | *no* | element content offset |
|
||||
| cursor | string | yes | yes | cursor displayed on hover |
|
||||
| parent | Element | yes | *no* | parent element or nil |
|
||||
| zIndex | bool | yes | *no* | z-index value. In panel, it determines the order |
|
||||
| zIndex | int | yes | *no* | z-index value. In panel, it determines the order |
|
||||
|
||||
Common element methods:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue