// Use this for initialization void Start() { objectSlicer = this.GetComponent <ObjectSlicer>(); slicerAngle = GetComponent <SlicerAngle>(); gameObjectCombiner = GameObject.Find("Controller").GetComponent <GameObjectCombiner>(); cuttingAngle = calculateCuttingAngle(cuttingDepth, cuttingWidth); }
// Use this for initialization void Start () { slicerAngle = GetComponent<SlicerAngle>(); }