Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lot of issues when importing to Unity. #76

Open
Wanmiet opened this issue Dec 16, 2020 · 0 comments
Open

Lot of issues when importing to Unity. #76

Wanmiet opened this issue Dec 16, 2020 · 0 comments

Comments

@Wanmiet
Copy link

Wanmiet commented Dec 16, 2020

I imported Dragon Bones to my Unity project for the first time and get all of these errors.

Assets\Scripts\UnityDragonBones\Scripts\unity\UnityArmatureComponent.cs(147,45): warning CS0168: The variable 'e' is declared but never used
Assets\Scripts\UnityDragonBones\Scripts\unity\UnityArmatureComponent.cs(663,20): warning CS0618: 'PrefabUtility.GetPrefabParent(Object)' is obsolete: 'Use GetCorrespondingObjectFromSource.'
Assets\Scripts\UnityDragonBones\Scripts\unity\UnityArmatureComponent.cs(664,20): warning CS0618: 'PrefabUtility.GetPrefabObject(Object)' is obsolete: 'Use GetPrefabInstanceHandle for Prefab instances. Handles for Prefab Assets has been discontinued.'
Assets\Scripts\UnityDragonBones\Editor\UnityArmatureEditor.cs(518,20): warning CS0618: 'PrefabUtility.GetPrefabParent(Object)' is obsolete: 'Use GetCorrespondingObjectFromSource.'
Assets\Scripts\UnityDragonBones\Editor\UnityArmatureEditor.cs(519,20): warning CS0618: 'PrefabUtility.GetPrefabObject(Object)' is obsolete: 'Use GetPrefabInstanceHandle for Prefab instances. Handles for Prefab Assets has been discontinued.'
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,39): warning CS0649: Field 'AssetProcess.SubTextureClass.height' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,55): warning CS0649: Field 'AssetProcess.SubTextureClass.frameY' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,32): warning CS0649: Field 'AssetProcess.SubTextureClass.width' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,75): warning CS0649: Field 'AssetProcess.SubTextureClass.frameHeight' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(35,27): warning CS0649: Field 'AssetProcess.SubTextureClass.name' is never assigned to, and will always have its default value null
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,26): warning CS0649: Field 'AssetProcess.SubTextureClass.x' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,29): warning CS0649: Field 'AssetProcess.SubTextureClass.y' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,47): warning CS0649: Field 'AssetProcess.SubTextureClass.frameX' is never assigned to, and will always have its default value 0
Assets\Scripts\UnityDragonBones\Editor\AssetProcess.cs(36,63): warning CS0649: Field 'AssetProcess.SubTextureClass.frameWidth' is never assigned to, and will always have its default value 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant