Answers for "unity scriptable objects"

C#
5

unity createassetmenu

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;
}
Posted by: Guest on March-05-2020

Code answers related to "unity scriptable objects"

C# Answers by Framework

Browse Popular Code Answers by Language