39 lines
699 B
C#
39 lines
699 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Thousandto.Core.Base
|
|||
|
{
|
|||
|
public class BytesAsset : UnityEngine.Object
|
|||
|
{
|
|||
|
private byte[] _contents;
|
|||
|
|
|||
|
private object _param;
|
|||
|
|
|||
|
public byte[] Contents
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return _contents;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public object Param
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return _param;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
internal BytesAsset(string nm, byte[] content,object param)
|
|||
|
:base()
|
|||
|
{
|
|||
|
name = nm;
|
|||
|
_contents = content;
|
|||
|
_param = param;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|