Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

I Want Script for random obstacle generation script for my 3D cube game.

Discussion in 'Scripting' started by Visith1000, Jan 9, 2021.

  1. Visith1000

    Visith1000

    Joined:
    Jan 9, 2021
    Posts:
    2
    hi there,
    I'm making on game call Square Runner. I want a C# Script to make the obstacle generate in the ground. I look in some scripts. But non of those working to my game. Please help me on this.
    Thank you!

    Image of my game: https://iphoto.net/i/S6GhF
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
    Don't look "in some scripts," because scripting is probably only about 10% of what you need. The rest will be setup and configuration of the scene / prefab.

    Start with some Youtube tutorials because what you're trying to do is VERY simple and elements of it will naturally be covered in virtually any tutorial involving any kind of spawning or placement.
     
    Visith1000 likes this.
  3. Visith1000

    Visith1000

    Joined:
    Jan 9, 2021
    Posts:
    2
    Thanks. But I watched tons of youtube tutorials.
    They aren't working to my game.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
    Since I know there are actual tutorials that actually show you how to actually spawn things on the ground, I am going to unfollow this thread because it appears you are not truly interested in solving your problem. Good luck!!
     
    SparrowGS likes this.