Summary
A
UnityEngine.ScriptableObject
which holds a Animancer.StringReference
based on its UnityEngine.Object.name
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
-
- IComparable
<StringAsset> - IConvertable
<StringReference> - IConvertable
<string> - IEquatable
<StringAsset> - IEquatable
<StringReference> - IEquatable
<string> - IHasKey
- IComparable
- Base Types
-
- ScriptableObject
graph BT
Type-->Base0["ScriptableObject"]
Type-.->Interface0["IComparable<StringAsset>"]
Type-.->Interface1["IConvertable<StringReference>"]
Type-.->Interface2["IConvertable<string>"]
Type-.->Interface3["IEquatable<StringAsset>"]
Type-.->Interface4["IEquatable<StringReference>"]
Type-.->Interface5["IEquatable<string>"]
Type-.->Interface6["IHasKey"]
click Interface6 "/animancer/api/Animancer/IHasKey"
Type["StringAsset"]
class Type type-node
Syntax
[AnimancerHelpUrl(typeof(StringAsset))]
[CreateAssetMenu(menuName = Strings.MenuPrefix + "String Asset", order = Strings.AssetMenuOrder + 2)]
public class StringAsset : ScriptableObject, IComparable<StringAsset>,
IConvertable<StringReference>, IConvertable<string>, IEquatable<StringAsset>,
IEquatable<StringReference>, IEquatable<string>, IHasKey
Attributes
Type | Description |
---|---|
Animancer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
|
Create |
Properties
Name | Value | Summary |
---|---|---|
EditorComment | string |
[Editor-Only] [
UnityEngine.SerializeField ]
An unused Editor-Only field where you can explain what this asset is used for.
|
Key | Object |
A key which can be used in dictionaries and hash sets.
|
Name | StringReference |
A
Animancer.StringReference to the UnityEngine.Object.name . |
Methods
Name | Value | Summary |
---|---|---|
Compare |
int |
Compares the
Animancer.StringReference.String s.static
|
CompareTo |
int |
Compares the
Animancer.StringReference.String s. |
Equals |
bool |
Is the
Animancer.StringAsset.Name equal to the `other`? |
Equals |
bool |
Is the
Animancer.StringAsset.Name equal to the `value`? |
Equals |
bool |
Is the
Animancer.StringAsset.Name equal to the `other`? |
Equals |
bool |
Is the
Animancer.StringAsset.Name equal to the `other`? |
GetHashCode |
int |
Returns the hash code of the
Animancer.StringAsset.Name . |
ToString |
string |
Returns the
Animancer.StringAsset.Name . |
ToStringReferences |
StringReference[] |
Creates a new array containing the
Animancer.StringAsset.Name s.static
|
ToStrings |
string[] |
Creates a new array containing the
Animancer.StringAsset.Name s.static
|
Operators
Name | Value | Summary |
---|---|---|
implicit operator string |
string | |
implicit operator |
StringReference | |
operator != |
bool | |
operator != |
bool | |
operator != |
bool | |
operator != |
bool | |
operator != |
bool | |
operator == |
bool | |
operator == |
bool | |
operator == |
bool | |
operator == |
bool | |
operator == |
bool |