playMaker

Author Topic: Destroy Component - quick question[SOLVED]  (Read 1722 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Destroy Component - quick question[SOLVED]
« on: July 21, 2015, 01:19:47 PM »
Hi, I'm currently pooling everything I can to help performance, but I do use a lot of "Destroy Component" and "Add Component" Do these actions have any impact on performance, as in the same way as create/destroy gameobjects?
Thanks for any help
« Last Edit: July 21, 2015, 02:33:34 PM by Splankton »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Destroy Component - quick question
« Reply #1 on: July 21, 2015, 01:25:25 PM »
It's not the super duper best, but unless you are actually seeing a performance impact on your target device then there isn't any reason to optimize it.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: Destroy Component - quick question[SOLVED]
« Reply #2 on: July 21, 2015, 02:33:49 PM »
Ok, thanks Lane