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