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

        activeNotShotNeedles.Add(needle);
    }
Example #2
0
 public void RemoveActivePin(PinNeedle needle)
 {
     activeNotShotNeedles.Remove(needle);
 }