void Awake() { if (!target) { target = GetComponent <UnityEngine.U2D.SpriteShapeController>(); } }
public void Init() { grapheNoeuds = new List <NoeudFleuve>(); ssController = GetComponent <UnityEngine.U2D.SpriteShapeController>(); spline = ssController.spline; }