Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     if (spankControllerObject)
     {
         this.spankScript = spankControllerObject.GetComponent<SpankScript>();
     }
     this.thisMeshRenderer = this.GetComponent<MeshRenderer>();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     if (spankControllerObject)
     {
         this.spankScript = spankControllerObject.GetComponent <SpankScript>();
     }
     this.thisMeshRenderer = this.GetComponent <MeshRenderer>();
 }