fork download
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. [CreateAssetMenu(fileName = "singleBuffData", menuName ="SingleBuff")]
  5. public class BuffProperties:ScriptableObject
  6. {
  7. public int BuffID;
  8. public string BuffName;
  9. public string BuffInformation;
  10. public Sprite BuffImage;
  11. public int BuffPrice;
  12. }
  13.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,7): error CS0246: The type or namespace name `UnityEngine' could not be found. Are you missing an assembly reference?
prog.cs(5,29): error CS0246: The type or namespace name `ScriptableObject' could not be found. Are you missing an assembly reference?
prog.cs(10,12): error CS0246: The type or namespace name `Sprite' could not be found. Are you missing an assembly reference?
Compilation failed: 3 error(s), 0 warnings
stdout
Standard output is empty