playMaker

Author Topic: [SOLVED] move along a string of gameobjects from start to end  (Read 4632 times)

S0ULART

  • Playmaker Newbie
  • *
  • Posts: 27
Re: move along a string of gameobjects from start to end
« Reply #15 on: January 12, 2018, 09:31:39 PM »
Thank you! Just got it working :)
Works perfectly oh and I used a global variable for the array instead of copying the values

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: move along a string of gameobjects from start to end
« Reply #16 on: January 13, 2018, 02:09:23 PM »
Hi.
You should minimize using globals, it is a bad way of coding, easy to hack (from cheat engines) and will get messy when you got lots of them.
Also you are unable to rename globals.

I never have more than 10 globals in my projects and usually not even 1.

If i use them it is to connect prefabs to for example my GameManager FSM.

When i started i also used lots of globals and had to rebuild some of my games later on (on 1 game i had even more than 300 globals, i had to rebuild the whole system).

anyway i am happy you got it to work :)