Exemple #1
0
 private void Awake()
 {
     m_scrSystem    = GetComponent <BezierCurveSystem>();
     m_lineRenderer = GetComponent <LineRenderer>();
     if (m_lineRenderer == null)
     {
         m_lineRenderer = gameObject.AddComponent <LineRenderer>();
     }
 }
Exemple #2
0
 public void OnEnable()
 {
     m_currentSystem = (BezierCurveSystem)target;
 }