Answers for "unity scriptable object as base class"

C#
0

unity scriptable object as base class

public enum AttributeType 
{   
 	Elemental,   Category
}  

public class abstract Attribute : scriptableObject {  
   protected AttributeType attribute;
   public Attribute { get { return attribute; }
}   
  //Children have to override this.   public abstract void effect(GameObject _target); }
Posted by: Guest on October-23-2020

C# Answers by Framework

Browse Popular Code Answers by Language