Class KnotAssetData
Base class that is used to store reference to Asset
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Knot.Localization.Data
Assembly: Knot.Localization.dll
Syntax
[Serializable]
public class KnotAssetData : KnotItemData, ICloneable, IComparable<KnotItemData>
Constructors
KnotAssetData()
Declaration
public KnotAssetData()
KnotAssetData(KnotAssetData)
Declaration
public KnotAssetData(KnotAssetData other)
Parameters
Type | Name | Description |
---|---|---|
KnotAssetData | other |
KnotAssetData(String)
Declaration
public KnotAssetData(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
KnotAssetData(String, KnotAssetData)
Declaration
public KnotAssetData(string key, KnotAssetData other)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
KnotAssetData | other |
KnotAssetData(String, Object)
Declaration
public KnotAssetData(string key, Object asset)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
UnityEngine.Object | asset |
Properties
Asset
Declaration
public Object Asset { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Object |
Methods
Clone()
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Implements
System.ICloneable
System.IComparable<T>