Exemplo n.º 1
0
    /*public static void FindNexus(PlayerNexusDead nexus1)
     * {
     *  nexus = nexus1;
     * }*/

    public static void FindPlayer(PlayerNexusDead player1)
    {
        player = player1;
    }
Exemplo n.º 2
0
 private void OnTriggerEnter2D(Collider2D collision)
 {
     planux = collision.gameObject.GetComponent <PlayerNexusDead>();
 }