Skip to content

Commit

Permalink
Merge pull request #1 from weisswolfi/dev
Browse files Browse the repository at this point in the history
test: ScriptedImporter aseprite extensions
  • Loading branch information
dunward authored May 3, 2020
2 parents 84d17d6 + 041a5b4 commit 9253121
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 4 deletions.
8 changes: 8 additions & 0 deletions Assets/AsepriteAnimator/Scripts/Ase.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Assets/AsepriteAnimator/Scripts/AsepriteImporter.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEditor.Experimental.AssetImporters;
using UnityEngine;

[ScriptedImporter(1, new string[] { "ase", "aseprite" })]
public class AsepriteImporter : ScriptedImporter
{
public override void OnImportAsset(AssetImportContext ctx)
{

}
}
11 changes: 11 additions & 0 deletions Assets/AsepriteAnimator/Scripts/AsepriteImporter.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions Assets/AsepriteAnimator/Scripts/Editor/AsepriteImporterEditor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.Experimental.AssetImporters;
using UnityEngine;

[CustomEditor(typeof(AsepriteImporter))]
public class AsepriteImporterEditor : ScriptedImporterEditor
{
public override void OnInspectorGUI()
{
EditorGUILayout.LabelField("TEST");
base.OnInspectorGUI();
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/AsepriteAnimator/adventurer.ase
Binary file not shown.
7 changes: 7 additions & 0 deletions Assets/AsepriteAnimator/adventurer.ase.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/AsepriteAnimator/adventurer.aseprite
Binary file not shown.
7 changes: 7 additions & 0 deletions Assets/AsepriteAnimator/adventurer.aseprite.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"com.unity.ext.nunit": "1.0.0",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.1.4",
"com.unity.test-framework": "1.1.9",
"com.unity.test-framework": "1.1.11",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.2.10",
"com.unity.timeline": "1.2.12",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2019.3.0f6
m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf)
m_EditorVersion: 2019.3.3f1
m_EditorVersionWithRevision: 2019.3.3f1 (7ceaae5f7503)

0 comments on commit 9253121

Please sign in to comment.