protected override void ReleaseReferences()
 {
     slotMachine.onEstablished -= Launch;
     symbolsMap.ReleaseReferences();
     symbolsMap  = null;
     slotMachine = null;
     audioSystem = null;
 }
Пример #2
0
 public Column(string inName, RectTransform parent, SlotMachine inMachine)
 {
     _machine    = inMachine;
     _isSpin     = false;
     _slotSize   = null;
     _gameObject = new GameObject(inName);
     _gameObject.transform.SetParent(parent);
     _rt = _gameObject.AddComponent <RectTransform>();
     _rectTransform.anchoredPosition = Vector2.zero;
 }