docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class CornerSprite

    Corner Sprite used to specify corner type and associated sprites.

    Inheritance
    object
    CornerSprite
    Implements
    ICloneable
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.U2D
    Assembly: Unity.2D.SpriteShape.Runtime.dll
    Syntax
    [Serializable]
    public class CornerSprite : ICloneable

    Properties

    cornerType

    Type of corner.

    Declaration
    public CornerType cornerType { get; set; }
    Property Value
    Type Description
    CornerType

    sprites

    List of sprites associated with this corner.

    Declaration
    public List<Sprite> sprites { get; set; }
    Property Value
    Type Description
    List<Sprite>

    Methods

    Clone()

    Clone this object.

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    A CornerSprite clone.

    Equals(object)

    Test for Equality.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    Object to test against

    Returns
    Type Description
    bool

    True if objects are equal.

    Overrides
    object.Equals(object)

    GetHashCode()

    Get hash code for this CornerSprite.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code as int.

    Overrides
    object.GetHashCode()

    Implements

    ICloneable
    概要
    トップに戻る
    Copyright © 2026 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)