Search Unity

[Solved]

Discussion in 'Scripting' started by GhulamJewel, Nov 25, 2015.

  1. GhulamJewel

    GhulamJewel

    Joined:
    May 23, 2014
    Posts:
    351
    [Solved]

     
    Last edited: Nov 28, 2015
  2. phoda

    phoda

    Joined:
    Nov 11, 2014
    Posts:
    384
    cutplane = GameObject.Find("CutPlane").GetComponent<Transform>();

    it would be better to use taggs to find something
     
    GhulamJewel likes this.
  3. GhulamJewel

    GhulamJewel

    Joined:
    May 23, 2014
    Posts:
    351
    Just edited thread no point spamming the forums with new threads!
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    It's called variables, and it's a programming concept you will want to learn, and fast.