Advertisement
Nicklaj

ThingsSet.cs

Mar 20th, 2025
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using Nicklaj.SimpleSOAP;
  2. using UnityEngine;
  3.  
  4. [CreateAssetMenu]
  5. public class ThingSet : RuntimeSetBase<Thing>
  6. {
  7.     protected override void OnReset()
  8.     {
  9.         if(Items != null && Items.Count > 0)
  10.         {
  11.             Items.Clear();
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement