void Start() { if (PlayerPrefs.HasKey("Bernstein") || PlayerPrefs.HasKey("DeCastleju") || PlayerPrefs.HasKey("NewtonForm") || PlayerPrefs.HasKey("SplineInterpolation")) { _curve = GameObject.Find("Canvas").GetComponent <CurveHandler_2D>(); } if (PlayerPrefs.HasKey("SplineInterpolation3D")) { curve = GameObject.Find("Canvas").GetComponent <CurveHandler>(); } }
// Use this for initialization void Start() { _curveHandler = GameObject.Find("Canvas").GetComponent <CurveHandler_2D>(); ControlPoints = _curveHandler.ControlPoints; }
// Use this for initialization void Start() { _curveHandler = GameObject.Find("Canvas").GetComponent <CurveHandler_2D>(); ControlPoints = _curveHandler.ControlPoints; solver = GameObject.Find("GaussianSolver").GetComponent <GaussianElliminationSolver>(); }