Beispiel #1
0
    private void Start()
    {
        SpriteSize    = clothing.GetSpriteSize();
        MarginSize    = clothing.GetMarginSize();
        StartPosWidth = -(SpriteSize / 2 + MarginSize / 2);

        this.transform.localPosition = new Vector3(StartPosWidth, 0.0f, 0.0f);

        State = STATE.MOVE;
    }