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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

What does Instantiate mean at Unity?

Discussion in 'Scripting' started by DoraemonCrayon, Sep 7, 2019.

  1. DoraemonCrayon

    DoraemonCrayon

    Joined:
    Mar 10, 2019
    Posts:
    27
    Example:
    GameObject tmpExplosion = Instantiate(Explosion, myHit.collider.transform.position, Quaternion.identity);
     
  2. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,835
    Instantiate means to make a clone of a GameObject or prefab.
     
    Lethn likes this.
  3. DoraemonCrayon

    DoraemonCrayon

    Joined:
    Mar 10, 2019
    Posts:
    27
    Thnks guy
     
  4. Nanior

    Nanior

    Joined:
    May 4, 2019
    Posts:
    101
    You are surely new, is it?
     
  5. Yoreki

    Yoreki

    Joined:
    Apr 10, 2019
    Posts:
    2,590
    Nothing wrong with that. Took me also some time getting used to the entire unity workflow when i started. Sometimes you get stuck at very basic things.
     
    Nanior likes this.
  6. Nanior

    Nanior

    Joined:
    May 4, 2019
    Posts:
    101
    sure, me also, i start at do what the tutorial say, and I take longer to figure out about Instansiate...
     
  7. Nanior

    Nanior

    Joined:
    May 4, 2019
    Posts:
    101
    And it perfectly normal for a beginner...
     
  8. Nanior

    Nanior

    Joined:
    May 4, 2019
    Posts:
    101
    I agree