/*public static void FindNexus(PlayerNexusDead nexus1) * { * nexus = nexus1; * }*/ public static void FindPlayer(PlayerNexusDead player1) { player = player1; }
private void OnTriggerEnter2D(Collider2D collision) { planux = collision.gameObject.GetComponent <PlayerNexusDead>(); }