Table of Contents
Contains helper methods for working with maps and custom maps.
public class MapHelper
Inheritance System.Object MapHelper
Creates a default PathModel out of list of PointInfos
public static PathModel CreatePathModel(string pathName, System.Collections.Generic.List<PointInfo> points);
pathName
System.String
points
System.Collections.Generic.List<Il2CppAssets.Scripts.Models.Map.PointInfo>
Il2CppAssets.Scripts.Models.Map.PathModel
Creates a default PathModel out of list of Vector2 points
public static PathModel CreatePathModel(string pathName, System.Collections.Generic.List<Vector2> points);
pathName
System.String
points
System.Collections.Generic.List<Il2CppAssets.Scripts.Simulation.SMath.Vector2>
Il2CppAssets.Scripts.Models.Map.PathModel
Create a Il2CppAssets.Scripts.Models.Map.PointInfo out of X, Y, Z coords.
public static PointInfo CreatePointInfo(float x, float y, float z);
Il2CppAssets.Scripts.Models.Map.PointInfo
Create a Il2CppAssets.Scripts.Models.Map.PointInfo out of an X and Y coord.
public static PointInfo CreatePointInfo(float x, float y);
Il2CppAssets.Scripts.Models.Map.PointInfo
Create a Il2CppAssets.Scripts.Models.Map.PointInfo out of a Vector2.
public static PointInfo CreatePointInfo(Vector2 point);
point
Il2CppAssets.Scripts.Simulation.SMath.Vector2
Il2CppAssets.Scripts.Models.Map.PointInfo
Create a Il2CppAssets.Scripts.Models.Map.PointInfo out of a Vector3.
public static PointInfo CreatePointInfo(Vector3 point);
point
Il2CppAssets.Scripts.Simulation.SMath.Vector3
Il2CppAssets.Scripts.Models.Map.PointInfo
Create a SpawnerModel based off of an array of paths
public static PathSpawnerModel CreateSpawner(PathModel[] paths);
paths
Il2CppAssets.Scripts.Models.Map.PathModel[]