Ejemplo n.º 1
0
 protected override void ReleaseReferences()
 {
     _rt            = null;
     _parentMachine = null;
     symbolHolder   = null;
     OnDestroyed?.Invoke();
     OnDestroyed = null;
 }
Ejemplo n.º 2
0
 public void Initialize(SlotMachine inMachine, Vector2Int inLocation)
 {
     _parentMachine = inMachine;
     _location      = inLocation;
     RandomSymbol();
     UpdatePosition();
     name = $"Slot [{_location.ToString()}]";
     rectTransform.localScale = Vector3.one;
 }