private NodeFollowAction action; // Reference to the Node Follow Action #endregion void Start() { #region Get components nodeFollow = gameObject.GetComponent <NodeFollow>(); action = gameObject.GetComponent <NodeFollowAction>(); #endregion }
void OnEnable() { #region The target for custom editor script = (NodeFollowAction)target; #endregion }