Beispiel #1
0
 public void SetBackgroundGroup(BackgroundGroup group)
 {
     this.group = group;
     index      = 0;
     scale      = 1.0f;
     Refresh();
 }
Beispiel #2
0
        public void SetGroup(BackgroundGroup group)
        {
            this.group = group;

            if (group == null)
            {
                snapshot.gameObject.SetActive(false);
            }
            else
            {
                snapshot.gameObject.SetActive(true);
                snapshot.sprite = group.LoadSnapshot();
            }
        }
 public void DisplayGroup(BackgroundGroup group)
 {
     imageViewer.SetBackgroundGroup(group);
     imageViewer.Show();
 }