Skip to content

Create grids of custom classes without placing them in the plugins folder  #15

@O4FoxSake

Description

@O4FoxSake

Hi! Apologies if this is a newbie question, but I haven't been able to come across a satifying answer.

I'm looking to use this plugin with my scriptable object based Minecraft-esque 3x3 grid crafting system, to hopefully make creating recipes in the inspector more intuitive. The issue I'm having is that I can't seem to find a way to create a grid of my own SOs without places the scripts they exist in inside of the plugins folder - it's a bit complicated but this isn't really a workable long term solution for my project.

So far the best I've managed is to inherit from an empty SO class which lives in the plugins folder, but again this unfortunately won't work in the long term. I also found out you can make a grid of the class "ScriptableObject" (as opposed to a specific class inheriting from it), which does free you from the plugins folder, however it means you're able to fill the grid up with SOs of any type, which makes it a hassle to work with.

In case it's helpful at all, heres the errors I'm getting when I try to create a grid of a class which isn't in the plugins folder (and doesn't use the above inheritance workaround):
image

Any help would be really amazing :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions