Beispiel #1
0
 void Awake()
 {
     _stickerButton = GetComponentInParent <StickerButton>();
 }
Beispiel #2
0
 public void SetParentButton(StickerButton parentButton)
 {
     _parentButton = parentButton;
     gameObject.GetComponent <Image>().sprite = _parentButton.stickerIcon;
 }