// Update is called once per frame void Update() { StageData stg = Stage.GetComponent <StageData>(); stg.ChangeSprite(GraphicChage); }