unity scriptable object

using UnityEngine;
using System.Collections;

[CreateAssetMenu(fileName = "Data", menuName = "Inventory/List", order = 1)]
public class MyScriptableObjectClass : ScriptableObject {
    public string objectName = "New MyScriptableObject";
    public bool colorIsRandom = false;
    public Color thisColor = Color.white;
    public Vector3[] spawnPoints;
}

3.5
6
MChaker 75 points

                                    using UnityEngine;

[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/SpawnManagerScriptableObject", order = 1)]
public class SpawnManagerScriptableObject : ScriptableObject
{
    public string prefabName;

    public int numberOfPrefabsToCreate;
    public Vector3[] spawnPoints;
}

3.5 (6 Votes)
0
0
0
Mahjoob 80 points

                                    [CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/SpawnManagerScriptableObject", order = 1)]
public class SpawnManagerScriptableObject : ScriptableObject
{
    public string prefabName;

    public int numberOfPrefabsToCreate;
    public Vector3[] spawnPoints;
}

0
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
unity scriptableo objects unity scriptable object instance how to make scriptable object unity unity implement scriptableobject how to create scriptable object unity via code scriptable objects syntax unity scriptable object in unity] unity using scriptableobject unity creating scriptableobject in game scriptableobjects unity how to create a scriptable object unity in a script unity scriptable object tyeps unity get scriptableobject scriptable object in unity unity what is scriptableobject Unity scriptableObject reference createassetmenu unity 2020.3 createassetmenu unity 2020 how to create a scriptable object unity unity get scriptableobject from script unity reference scriptable objects unity scriptable object in inspector how to use scriptableobjects unity what are scriptableobjects for unity unity3d scriptableobject unity scriptable objects to object unity cant make a scriptable object unity scriptableobject tutorial Unity ScriptableObject use scriptable object unit unity unity scriptableobject property unity scriptable object reference to gameobject unity reference in scriptable object uinty scriptable object scriptable objects unity code how to fully utilize scriptable objects in unity c# unity CreateAssetMenu unity cant create scriptable object unity c# scriptable objet scriptableobject example unity unity create scriptableobject script unity scriptableobject create unity scriptableobject and scriptable objects unity scriptableobjects unity createasset unity scriptable object example unity how to create scriptable object unity what are scriptable objects unity how to use scriptableobject unity scriptableobject usage what are scriptable objects in unity unity scriptableobject script scriptable objects unity tutorial unity scriptable objects example unity scriptable objects tutorial scriptableobjects i unity unity how to use scriptable objects unity scriptableobject on create reference scriptableobject in unity ho to make a scriptable object in unity how to make a scriptable object unity unity scriptable object reference unity make scriptable object unity scriptableobject data unity scriptableobject attribute how to create scriptable object unity unity 3d scriptable object unity learn scriptable objects unity scriptable unity set scriptableobject scriptable objects or classes unity unity scriptable objects on create scriptable objects unity example Unity scriptable objects get in code unity c# scriptable object unity create scriptableobject in code unity create scriptableobject from script unity scriptableobject with methods unity why use scriptable objects create scriptable object unity use scriptable object for items unity unity scriptable objects different options unity create scriptableobject unity create scriptable object how to make scriptable objects in unity unity c# scriptableObject All of scriptable object in project unity what are the Scriptable Objects in unity unity create scriptableobject from code unity create scriptable object from script unity What is a Scriptable Object? Unity reference ScriptableObject ScriptableObject unity scripts how to make a scriptable object in code unity creating scriptable objects unity unity use scriptableobject scriptable object unity to class scriptable object unity create a scriptable object unity script object unity unity how to connect scriptable object to mono sciptobject unity unity on create asset menu unity create asset menu unity asset unity editor create asset from menu unity create asset meno on asset unity 3d scriptable objects scriptable object on create unity CreateAssetMenu through code CreateAssetMenu unity how to CreateAssetMenu within a file unity scriptable object editor unity create asset menu unity why use scriptable objects unity unity c# scriptable objects scriptableobject unity unity scriptable object what are scriptable objects unity unity create menu asset scriptableobject (CreateAssetMenu(fileName unity c# unity ScriptableObject tutorial add scriptable object to creat menu unity unity scriptableobject create menu scriptable objects in unity unity scriptableobject for tracking gameobjects unity scriptabel objects CreateAssetMenu attribute on TerrainData will be ignored as TerrainData is not derived from ScriptableObject. UnityEditor.EditorApplication:Internal_CallUpdateFunctions() how to use scriptable objects unity unity scriptable objet menu scriptable object unity menu path unity create scriptableobject menu unity when to use scriptable objects scriptableobject create asset menu get selected item name from button using scriptable objects scriptable objects unity unity createassetmenu scriptableobject create menu scriptable object create menu unity scriptable objects call CreateAssetMenu unity from code call CreateAssetMenu unity scriptable objects how to add scriptable object to menu unity scriptableobject unity create asset menu what is a scriptable object in unity animate in unity vs blender unity kazoo model unity listarray cs1955 unity vector3 create asset menu not working unity
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source