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