Inheritance
System.Object
AssetImage
public class AssetImage : AssetBundleImageProvider, IEquatable<AssetImage>
Constructors
Declaration
public AssetImage(string assetName, AssetBundle bundle = null)
Parameters
Type |
Name |
Description |
System.String |
assetName |
|
AssetBundle |
bundle |
|
Fields
Declaration
public readonly string assetName
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly AssetBundle bundle
Field Value
Type |
Description |
AssetBundle |
|
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(AssetImage other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
protected override IPromise<AssetBundleImageKey> obtainKey(ImageConfiguration configuration)
Parameters
Returns
Overrides
Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.AssetBundleImageKey>.obtainKey(Unity.UIWidgets.painting.ImageConfiguration)
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(AssetImage left, AssetImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(AssetImage left, AssetImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|