Exemple #1
0
 private void OnEnable()
 {
     targetTransform            = ((RoadHandle)target).transform;
     road                       = targetTransform.parent.GetComponent <Road>();
     targetTransform.hasChanged = false;
 }
Exemple #2
0
 private void OnEnable()
 {
     road      = (Road)target;
     transform = road.transform;
 }