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