Skip to content
Snippets Groups Projects
ItemObject.cs 432 B
Newer Older
  • Learn to ignore specific revisions
  • BenniHome's avatar
    BenniHome committed
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    
    
    
    public abstract class ItemObject : ScriptableObject
    
    BenniHome's avatar
    BenniHome committed
    {
    
        public enum ItemType{
            LengthFact,
            AngleFact,
            DefaultScroll,
            Point,
            Default
        };
    
    BenniHome's avatar
    BenniHome committed
        public ItemType type;
        [TextArea(15,20)]
        public string Description;
    
    
        public abstract GameObject CreateDisplay(Transform transform, GameObject prefab);
    
    BenniHome's avatar
    BenniHome committed
    }