playMaker

Author Topic: Compare multiple tags at once and send an event depending on the tag  (Read 1239 times)

ididtry

  • Playmaker Newbie
  • *
  • Posts: 1
for my pickup system i use a raycast to check the game object tag to see if it should be picked up or not am trying to make one raycast to handle them all instead of one being shot out for each object because it slows down my game too much

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
Re: Compare multiple tags at once and send an event depending on the tag
« Reply #1 on: December 11, 2020, 10:09:22 AM »
get the tag and saave it on a string .
then, do string compare