Search Unity

Distance checker

Discussion in 'Scripting' started by gamelord327, Mar 31, 2014.

  1. gamelord327

    gamelord327

    Joined:
    Mar 31, 2014
    Posts:
    1
    Hi,

    I need my unity to check which enemy is closest to the object that is shooting and shoot that enemy. Im using Unity 3.5.6 Free. Thanks in advance :)
     
  2. SteveJ

    SteveJ

    Joined:
    Mar 26, 2010
    Posts:
    3,085