Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

416
Views
Can I remove parts of an Assetbundle at runtime?

I have a lot of fbx files that I converted into Assetbundles. Some of them contain a camera that I want to remove/ignore when I am placing that at runtime. Is it possible to to that? If so, how?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

When "placing" at runtime I assume you instantiate them. They will then be GameObjects, which you can edit through code. If your GameObject has a Camera GameObject as Child you can use transform.Find("GOName") to find the camera gameObject, and then Oject.Destroy() it or just deactivate it.

However, this is bad practice as it requires names to stay the same without breaking the code. You should really only save assets exactly as you need them. If your asset doesnt need a camera, it should not have one attached. You should take that little time to clean up your assets, because it will eliminate a lot of time consuming future problems.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!