Exemplo n.º 1
0
 void Awake()
 {
     // Make a CyliQuadMaker if there isn't one
     cyliMaker = GetComponent <CyliQuadMaker>();
     if (!cyliMaker)
     {
         cyliMaker = this.gameObject.AddComponent <CyliQuadMaker>();
     }
 }
 void Awake()
 {
     // Make a CyliQuadMaker if there isn't one
     cyliMaker = GetComponent<CyliQuadMaker>();
     if (!cyliMaker) {
     cyliMaker = this.gameObject.AddComponent<CyliQuadMaker>();
     }
 }