Empty Scriptable Objects#
Can Read
Cannot Write
Description#
An empty collection of Scriptable Objects
Code#
using System;
using System.Collections.Generic;
using UnityEngine;
using VisualScript.Icons;
namespace VisualScript.Runtime
{
[Get]
[Title("Empty Scriptable Objects")]
[Category("Empty Scriptable Objects")]
[Description("An empty collection of Scriptable Objects")]
[Image(typeof(IconNull), ColorTheme.Type.TextLight)]
[Keywords("None", "Null", "Zero")]
[Serializable]
public class TypeCollectionScriptableObjectsEmpty : TypeCollectionScriptableObjects
{
public override void Get(Args args, List<ScriptableObject> values)
{
values.Clear();
}
public override string ToString()
{
return "Empty";
}
}
}