public void SpawnPin() { if (activeNotShotNeedles.Count == 1) { return; } PinNeedle needle = Instantiate(pin, transform.position, transform.rotation, transform).GetComponent <PinNeedle>(); activeNotShotNeedles.Add(needle); }
public void RemoveActivePin(PinNeedle needle) { activeNotShotNeedles.Remove(needle); }