playMaker

Author Topic: Specify GameObject and reference in Prefab  (Read 1366 times)

Kled14

  • Playmaker Newbie
  • *
  • Posts: 2
Specify GameObject and reference in Prefab
« on: May 12, 2017, 08:44:27 AM »
Hi, when pointing to another gameobject inside the same prefab, is it better for performance to point directly to the gameobject or is it better to put the gameobject in a gameobject variable on start and then use that variable ?

FritsLyn

  • Full Member
  • ***
  • Posts: 191
Re: Specify GameObject and reference in Prefab
« Reply #1 on: May 17, 2017, 05:57:46 PM »
I think you May mean 'other Transform' inside same prefab?
Anyhow, as I understand your question, there will be absolutely zero difference in terms of performance under normal circumstances.