// Use this for initialization void Start() { text = this.transform.GetChild (0).GetComponent<Text> (); ft = ftObj.GetComponent<FaceTransplant> (); button = this.GetComponent<Button> (); button.onClick.AddListener (delegate {saveFace();}); }
// Use this for initialization void Start() { cc = null; prevFaces = new FaceBehaviour[6]; location = -1; ft = faceTransplantObject.GetComponent<FaceTransplant> (); compc = compCubeObject.GetComponent<CompleteCube> (); sc = cubeSelection.GetComponent<SelectionControl> (); }