Search Feedback

10
votes

ScriptableObject Variants

Editor

-

-

Prefab Variants, but for ScriptableObject based assets.

Use case in my project:
I made an AI system where I define a behavioural structure of a CP by a collection of traits (Actions they can choose to take), and a few general levers, such as simulated reaction time.

I can define different AI difficulty levels or create different behaviours for different game modes by changing the reaction time or values used by each trait to decide whether to choose it at a certain time. But I need to create an asset for each difficulty setting that may very well only differ by a single value being changed (Such as the reaction time), and that means that every time I want to change the basic balance of the core AI, I need to make sure to do it on all difficulty levels separately.

Would be awesome to have the ability to use variants here.

Comments (1)

  1. 093d0ac80b77dae0deaf43c6ac29a325?d=mm

    KazenoZ

    Jan 10, 2019 08:07

    https://forum.unity.com/attachments/upload_2019-1-10_9-57-6-png.356314/

    Inspector of the behavioural structure I detailed in the OP, to help visualize things.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10889)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(364)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(148)

Collaborate

(68)

Docs & Tutorials

(247)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(190)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)