void Start() { scaler = GetComponent <UICanvasScale>(); startingY = scaler.rect.y; instance = this; }
// Use this for initialization void Start() { scaler = GetComponent <UICanvasScale>(); fullHeight = scaler.rect.height; }