Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Hassan Wattar
    Hassan Wattar
    1,166 Points

    i still don't understand why didn't we just create a script in the fly gameObject

    Posted July 18, 2018 10:03am by Hassan Wattar
    Hassan Wattar
    1,166 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    0 Answers

  • Giovanni Rodriguez
    Giovanni Rodriguez
    1,827 Points

    'FlySpawner' does not contain a definition for 'totalFlies'???

    Posted May 8, 2018 5:59am by Giovanni Rodriguez
    Giovanni Rodriguez
    1,827 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    1 Answer

  • Allen Ciuffo
    PLUS
    Allen Ciuffo
    Courses Plus Student 662 Points

    code error with fly pickup

    Posted April 3, 2018 12:35am by Allen Ciuffo
    Allen Ciuffo
    Courses Plus Student 662 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Add Pickup Particles

    1 Answer

  • Tojo Alex
    PLUS
    Tojo Alex
    Courses Plus Student 13,331 Points

    C# error with the Fly Pickup

    Posted February 16, 2018 10:43am by Tojo Alex
    Tojo Alex
    Courses Plus Student 13,331 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Add Pickup Particles

    2 Answers

  • Tojo Alex
    PLUS
    Tojo Alex
    Courses Plus Student 13,331 Points

    C# fly movement error

    Posted February 10, 2018 3:03pm by Tojo Alex
    Tojo Alex
    Courses Plus Student 13,331 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    2 Answers

  • zuhthi sahan
    zuhthi sahan
    907 Points

    i cant see my flies swings around center

    Posted December 6, 2017 10:53am by zuhthi sahan
    zuhthi sahan
    907 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    0 Answers

  • Rasmus Hall
    Rasmus Hall
    1,260 Points

    Windows AND Mac dont work together

    Posted November 21, 2017 10:41am by Rasmus Hall
    Rasmus Hall
    1,260 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Add Pickup Particles

    0 Answers

  • Marshall Livingston
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Marshall Livingston
    Python Web Development Techdegree Student 2,763 Points

    UnassignedReferenceException: The variable flyPrefab of FlySpawner has not been assigned.

    Posted October 25, 2017 4:10pm by Marshall Livingston
    .a{fill-rule:evenodd;}techdegree
    Marshall Livingston
    Python Web Development Techdegree Student 2,763 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    1 Answer

  • Yauheni Kuzmich
    Yauheni Kuzmich
    1,529 Points

    Why is the fly not getting destroyed?

    Posted August 1, 2017 5:19am by Yauheni Kuzmich
    Yauheni Kuzmich
    1,529 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Pickup

    11 Answers

  • jrmcintyre
    jrmcintyre
    4,892 Points

    Serialize field method not working

    Posted July 30, 2017 3:58am by jrmcintyre
    jrmcintyre
    4,892 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Create the Pickup Spawner

    2 Answers

  • Toya Chavis
    PLUS
    Toya Chavis
    Courses Plus Student 207 Points

    Too many fly's are popping up

    Posted July 24, 2017 8:59pm by Toya Chavis
    Toya Chavis
    Courses Plus Student 207 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    0 Answers

  • Ferhat Aydemir
    Ferhat Aydemir
    745 Points

    Why is the fly not getting destroyed?

    Posted July 2, 2017 12:56pm by Ferhat Aydemir
    Ferhat Aydemir
    745 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Pickup

    1 Answer

  • realh4mmy
    realh4mmy
    1,087 Points

    Won't stop repeating

    Posted July 2, 2017 9:57am by realh4mmy
    realh4mmy
    1,087 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Add Pickup Particles

    0 Answers

  • mike larry
    mike larry
    773 Points

    Scripts

    Posted June 18, 2017 6:03pm by mike larry
    mike larry
    773 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    2 Answers

  • Christopher Westman
    Christopher Westman
    9,680 Points

    I'm re-checking my work and the fly still isn't being destroyed.

    Posted June 18, 2017 12:59am by Christopher Westman
    Christopher Westman
    9,680 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Pickup

    1 Answer

  • Nathan Pennington
    Nathan Pennington
    298 Points

    Metal: GrabIntoRenderTexture mismatched grab pass: 81 / 115

    Posted June 10, 2017 7:53pm by Nathan Pennington
    Nathan Pennington
    298 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Add Pickup Particles

    0 Answers

  • JOSETH BAINES
    PLUS
    JOSETH BAINES
    Courses Plus Student 438 Points

    Fly didn't destroy after writing the code

    Posted June 6, 2017 3:07am by JOSETH BAINES
    JOSETH BAINES
    Courses Plus Student 438 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Pickup

    1 Answer

  • Alessandro Agostinelli
    Alessandro Agostinelli
    2,174 Points

    I just finished the flyspawner script and nothing shows up under component for gamemanager pls help!

    Posted May 30, 2017 1:54pm by Alessandro Agostinelli
    Alessandro Agostinelli
    2,174 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    0 Answers

  • Igor Latychev
    PLUS
    Igor Latychev
    Courses Plus Student 7,310 Points

    Why are all the flies disappearing?

    Posted May 29, 2017 9:57pm by Igor Latychev
    Igor Latychev
    Courses Plus Student 7,310 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    1 Answer

  • Mike McKnight
    Mike McKnight
    6,717 Points

    Destroy fly pickup particle.

    Posted May 21, 2017 1:54pm by Mike McKnight
    Mike McKnight
    6,717 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Add Pickup Particles

    1 Answer

  • Ranvir Sahota
    Ranvir Sahota
    9,844 Points

    transform.RotateAround

    Posted May 17, 2017 8:57am by Ranvir Sahota
    Ranvir Sahota
    9,844 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    0 Answers

  • Ranvir Sahota
    Ranvir Sahota
    9,844 Points

    Why use Vector3.up for axis?

    Posted May 17, 2017 8:46am by Ranvir Sahota
    Ranvir Sahota
    9,844 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    0 Answers

  • Ranvir Sahota
    Ranvir Sahota
    9,844 Points

    When to use RigidBody?

    Posted May 16, 2017 10:15pm by Ranvir Sahota
    Ranvir Sahota
    9,844 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    0 Answers

  • Derryl Frazier
    PLUS
    Derryl Frazier
    Courses Plus Student 253 Points

    the fly isn't being destroyed ... what did i do wrong?

    Posted April 29, 2017 8:15pm by Derryl Frazier
    Derryl Frazier
    Courses Plus Student 253 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Pickup

    1 Answer

  • Patrick McLeod
    Patrick McLeod
    5,913 Points

    Stuck on error CS1525: Unexpected symbol

    Posted April 19, 2017 12:47am by Patrick McLeod
    Patrick McLeod
    5,913 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Spawn Pickups Randomly

    1 Answer

  • Jacob Domina
    PLUS
    Jacob Domina
    Courses Plus Student 1,767 Points

    Where did Mono go?

    Posted April 5, 2017 4:59pm by Jacob Domina
    Jacob Domina
    Courses Plus Student 1,767 Points
    • Game Development
    • How to Make a Video Game
    • Pickups
    • Script the Fly Movement

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord