Follower => Game Object

Set

Set the follower gameObject.

 public static void Follower_Set_GameObject(Follower follower, GameObject followerGo)

Example:

SPData sPData;
GameObject followerGo;
public void Start()
{
sPData =GetComponent<SplinePlus>().SPData;
//Access follower with index 0
Follower follower = sPData.Followers[0];

//Set follower gameObject
SplinePlusAPI.Follower_Set_GameObject( follower, followerGo);
}

Get

Get the follower gameObject.

public static GameObject Follower_Get_GameObject(Follower follower)

Example:

SPData sPData;
GameObject followerGo;
public void Start()
{
sPData =GetComponent<SplinePlus>().SPData;
//Access follower with index 0
Follower follower = sPData.Followers[0];

//Get follower gameObject
var followerGameObject=SplinePlusAPI.Follower_Set_GameObject( follower);
}