Code Monkey home page Code Monkey logo

com.ikonoclast.asset-creator's Introduction

AssetCreator

Unity package used in the development of Ikonoclast projects, containing an editor window to facilitate the creation of assets.

Editor Window

Usage

Implement the ICreatableAsset interface on any ScriptableObject classes that you wish to create via the AssetCreator.

public class CreatableAsset : ScriptableObject, ICreatableAsset
{
	// ...
}

For assets you wish to have only a single instance of, also implement the ISingleInstanceAsset interface.

public class SingleInstanceAsset : ScriptableObject, ICreatableAsset, ISingleInstanceAsset
{
	// ...
}

Both the ICreatableAsset and ISingleInstanceAsset can be found in the Ikonoclast.Common namespace.

Note that only non-abstract classes will be visible.

Dependencies

This package has dependencies. To use this package, add the following to the manifest.json file found under Assets > Packages:

  • "com.ikonoclast.common" : "https://github.com/Jubessin/com.ikonoclast.common.git#3.2.0"

com.ikonoclast.asset-creator's People

Contributors

jubessin avatar

Watchers

 avatar

com.ikonoclast.asset-creator's Issues

Getting a nullref when saving configurations during recompilation

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.ClearPreviewCache () (at <ce529ddd5fb1424f905ed386885ff5fe>:0)
UnityEditor.GameObjectInspector.ReloadPreviewInstances () (at <ce529ddd5fb1424f905ed386885ff5fe>:0)
UnityEditor.GameObjectInspector.OnForceReloadInspector () (at <ce529ddd5fb1424f905ed386885ff5fe>:0)
UnityEditor.AssetDatabase:SaveAssets()
Ikonoclast.AssetCreator.Editor.AssetCreatorEditorWindow:SaveConfigurations() (at Library/PackageCache/com.ikonoclast.asset-creator@387d224397/Editor/AssetCreatorEditorWindow.cs:232)
Ikonoclast.AssetCreator.Editor.AssetCreatorEditorWindow:OnDisable() (at Library/PackageCache/com.ikonoclast.asset-creator@387d224397/Editor/AssetCreatorEditorWindow.cs:359)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.