Published
- 1 min read
unity createassetmenu
The solution for this is noted below
unity createassetmenu
Solution
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;
}
Try other methods by searching on the site. That is if this doesn’t work