Answers for "unity createassetmenu"

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

C# Answers by Framework

Browse Popular Code Answers by Language