TypeBase
public abstract class TypeBase : IType, IEquatable<TypeBase>Inherits from System.Object
Implements Yarn.IType, System.IEquatable{Yarn.TypeBase}
#Properties
#ConvertibleToTypes
public IReadOnlyCollection<IType> ConvertibleToTypes { get }Type IReadOnlyCollection
#Description
public abstract string Description { get; }Type String
#Methods
public virtual IReadOnlyDictionary<string, Delegate> Methods { get }Type IReadOnlyDictionary
#Name
public abstract string Name { get; }Type String
#Parent
#TypeMembers
public IReadOnlyDictionary<string, ITypeMember> TypeMembers { get }Type IReadOnlyDictionary
#Methods
#Equals(object)
public override bool Equals(object obj)Parameters
objobject
Returns Boolean
#Equals(TypeBase)
#GetHashCode()
public override int GetHashCode()Returns Int32
#IsAncestorOf(TypeBase)
other.public bool IsAncestorOf(TypeBase other)Parameters
otherYarn.TypeBaseThe type to check.
Returns Boolean: true if this type is an ancestor of
other; false
otherwise.
#IsConvertibleTo(TypeBase)
otherType.public bool IsConvertibleTo(TypeBase otherType)Parameters
otherTypeYarn.TypeBaseThe type to check.
Returns Boolean: true if this type is convertible to
otherType.
- there is an explicit conversion available, or
- it is a descendant of that type, or
- the two types are identical.
#ToString()
public override string ToString();Returns String
Generated from Yarn Spinner for Unity 3.3.