Support TexturePacker image atlases
This commit is contained in:
@@ -138,6 +138,9 @@ class RuntimeProtocolField {
|
||||
static const target = 'target';
|
||||
static const parent = 'parent';
|
||||
static const asset = 'asset';
|
||||
static const frame = 'frame';
|
||||
static const pressedFrame = 'pressedFrame';
|
||||
static const disabledFrame = 'disabledFrame';
|
||||
static const sourceX = 'sourceX';
|
||||
static const sourceY = 'sourceY';
|
||||
static const sourceWidth = 'sourceWidth';
|
||||
@@ -233,6 +236,9 @@ class RuntimeProtocolSchema {
|
||||
RuntimeProtocolField.type,
|
||||
RuntimeProtocolField.parent,
|
||||
RuntimeProtocolField.asset,
|
||||
RuntimeProtocolField.frame,
|
||||
RuntimeProtocolField.pressedFrame,
|
||||
RuntimeProtocolField.disabledFrame,
|
||||
RuntimeProtocolField.sourceX,
|
||||
RuntimeProtocolField.sourceY,
|
||||
RuntimeProtocolField.sourceWidth,
|
||||
@@ -310,6 +316,9 @@ class RuntimeProtocolSchema {
|
||||
RuntimeProtocolField.type,
|
||||
RuntimeProtocolField.parent,
|
||||
RuntimeProtocolField.asset,
|
||||
RuntimeProtocolField.frame,
|
||||
RuntimeProtocolField.pressedFrame,
|
||||
RuntimeProtocolField.disabledFrame,
|
||||
RuntimeProtocolField.sourceX,
|
||||
RuntimeProtocolField.sourceY,
|
||||
RuntimeProtocolField.sourceWidth,
|
||||
|
||||
Reference in New Issue
Block a user