Ejemplo n.º 1
0
    void Start()
    {
        scaler = GetComponent <UICanvasScale>();

        startingY = scaler.rect.y;

        instance = this;
    }
Ejemplo n.º 2
0
        // Use this for initialization

        void Start()
        {
            scaler     = GetComponent <UICanvasScale>();
            fullHeight = scaler.rect.height;
        }