void OnEnable()
 {
     myTarget = target as PlayerActionPath;
     col1 = myTarget.GetComponent<SphereCollider>();
     col2 = myTarget.GetComponent<BoxCollider>();
 }
 void OnEnable()
 {
     myTarget = target as PlayerActionPath;
     col1     = myTarget.GetComponent <SphereCollider>();
     col2     = myTarget.GetComponent <BoxCollider>();
 }