use of com.talosvfx.talos.editor.addons.scene.widgets.property.AssetSelectWidget in project talos by rockbite.
the class SpineMetadata method getListOfProperties.
@Override
public Array<PropertyWidget> getListOfProperties() {
Array<PropertyWidget> propertyWidgets = new Array<>();
propertyWidgets.add(WidgetFactory.generate(this, "scale", "Scale"));
AssetSelectWidget atlasWidget = new AssetSelectWidget("Atlas", "atlas", new Supplier<String>() {
@Override
public String get() {
return atlasPath;
}
}, new PropertyWidget.ValueChanged<String>() {
@Override
public void report(String value) {
atlasPath = value;
}
});
propertyWidgets.add(atlasWidget);
return propertyWidgets;
}
Aggregations