Comments (2)
Hey RandolphBurt by the looks of the code:
public Attachment newAttachment (AttachmentType type, String name) {
Attachment attachment = null;
switch (type) {
case region:
attachment = new RegionAttachment(name);
break;
case regionSequence:
attachment = new RegionAttachment(name);
break;
default:
throw new IllegalArgumentException("Unknown attachment type: " + type);
}
it's being used as a method to make sure its one of two types .. and if its not it throws an IllegalArgumentException
Edit the code in question looks like it's TextureAtlasAttachmentLoader.java starting line 45.. if any one wants to take a gander.
from spine-runtimes.
Yup, fixed, thanks.
Note the region sequence attachment type is for an image attachment that shows a sprite animation. The editor will not output this attachment type yet because there is no UI for it. You can safely ignore region sequence attachments.
from spine-runtimes.
Related Issues (20)
- [unity] URP shader issue with bloom and HDR
- [unity] SkeletonRootMotion can't be updated after SkeletonDataAsset change
- Port: Scale physics constraint limits with skeleton scale. HOT 1
- [unity] SkeletonGraphic MatchRectTransformWithBounds wrong with layoutScaleMode
- [cpp] Crash because of negative setSize in SkeletonClipping.cpp HOT 1
- [unity] SkeletonRootMotion ignores parent bone scale set via transform constraints
- [spine-pixi] Can't create empty atlas HOT 3
- [unity] SkeletonUtilityBone wrong position when used with RootMotion
- [cpp] Empty animation with duration 0 triggers exception
- [ts][pixi] v8 support
- [libgdx]How to set the black background color to transparent? HOT 1
- [ios][libgdx]premultipliedAlpha Rendering Issue on iOS Compared to Android HOT 7
- [unity] SkeletonUtilityConstraint subclasses not updating
- [ts][webgl] `this.lastTexture.bind` is not a function HOT 3
- [unity] Feature request: Better SpriteAtlas support HOT 3
- Port: Fixed mixing out inherit timelines to the setup pose.
- [android]Cannot display on Xiaomi MIX2 HOT 6
- [unity] error in URP's blend shaders when MainLight is disabled HOT 1
- [Unity] error has invalid dependencies or related test packages: HOT 1
- [ue] Make `Set Slot Color` available in Spine Widget.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spine-runtimes.