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