Ejemplo n.º 1
0
    public Transform TopRightSprite(TownSpriteBase sprite)
    {
        Transform transform = sprite.GetComponent <Transform>();

        transform.localPosition = new Vector3(590f, -350f);
        transform.localScale    = new Vector3(0.4f, 0.4f, 1f);
        return(transform);
    }
Ejemplo n.º 2
0
    public Transform BottomLeftSprite(TownSpriteBase sprite)
    {
        Transform transform = sprite.GetComponent <Transform>();

        transform.localPosition = new Vector3(-630f, -350f);
        transform.localScale    = new Vector3(0.6f, 0.6f, 1f);
        return(transform);
    }
Ejemplo n.º 3
0
    public Transform CentreSprite(TownSpriteBase sprite)
    {
        Transform transform = sprite.GetComponent <Transform>();

        transform.localPosition = new Vector3(0f, 0f);
        transform.localScale    = new Vector3(0.5f, 0.5f, 1f);
        return(transform);
    }