Class StringOrTextAsset
[Serializable]
public class StringOrTextAsset
- Inheritance
-
objectStringOrTextAsset
- Extension Methods
Fields
IsTextAsset
public bool IsTextAsset
Field Value
- bool
Text
public string Text
Field Value
- string
TextAsset
public TextAsset TextAsset
Field Value
- TextAsset
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator string(StringOrTextAsset)
public static implicit operator string(StringOrTextAsset conditionalTextAsset)
Parameters
conditionalTextAssetStringOrTextAsset
Returns
- string
implicit operator StringOrTextAsset(string)
public static implicit operator StringOrTextAsset(string text)
Parameters
textstring