// Use this for initialization void Start() { destruction = 0; spw = spwan.GetComponent <Spwan>(); txt = text.GetComponent <GUIText>(); py = player.GetComponent <Entety>(); }
public void Join(Spwan spwan) { if (spwans == null) { spwans = new List <Spwan>(); } spwans.Add(spwan); }