Пример #1
0
 public void Init(RuneDescriptor rune, MagicMaker magicMaker)
 {
     _magicMaker  = magicMaker;
     _startParent = transform.parent;
     Rune         = rune;
     Image.sprite = Rune.Image;
 }
Пример #2
0
 public void Init(MagicMaker magicMaker)
 {
     _magicMaker = magicMaker;
     SetLocked(Locked);
 }
Пример #3
0
 internal void Init(MagicMaker magicMaker)
 {
     _originalSprite = Image.sprite;
     _maker          = magicMaker;
     _button         = GetComponent <Button>();
 }