Inheritance
System.Object
ExactAssetImage
public class ExactAssetImage : AssetBundleImageProvider, IEquatable<ExactAssetImage>
Constructors
Declaration
public ExactAssetImage(string assetName, float scale = 1F, AssetBundle bundle = null)
Parameters
Type |
Name |
Description |
System.String |
assetName |
|
System.Single |
scale |
|
AssetBundle |
bundle |
|
Fields
Declaration
public readonly string assetName
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly AssetBundle bundle
Field Value
Type |
Description |
AssetBundle |
|
Declaration
public readonly float scale
Field Value
Type |
Description |
System.Single |
|
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(ExactAssetImage 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 ==(ExactAssetImage left, ExactAssetImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(ExactAssetImage left, ExactAssetImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|