public GameplayPlayerMovementManager() { FollowPointWheel = ObjectSpawner.SpawnWheelSpawnerObject(SimulationInstance.Player.transform.position); FollowPointWheel.transform.SetParent(SimulationInstance.Player.transform); FollowPointWheel.CreateSpawnPositions(); SimulationInstance.Player.PlayerMovementManager.ChangeFollowPoint(FollowPointWheel.GetRandomSpawnPointTransform()); movementParametersFlow = true; TriggerRotationChangeCycle(); TriggerRotationChangeCycle(); }
public Transform GetFollowPointTransform() { return(FollowPointWheel.GetRandomSpawnPointTransform()); }