AssetPreAssignAttribute.cs 368 B

12345678910111213141516
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. public class AssetPreAssignAttribute : PropertyAttribute
  6. {
  7. public string assetPath;
  8. public Type assetType;
  9. public AssetPreAssignAttribute(string assetPath, Type assetType)
  10. {
  11. this.assetPath = assetPath;
  12. this.assetType = assetType;
  13. }
  14. }