-
Notifications
You must be signed in to change notification settings - Fork 12
External API
The following calls are added to the API class, that will not change in the future:
the API is here: API.cs
public static string SpawnObject(string modelName)
Spawns a static object with the disiret model-name and starts the editor. The static is stored in the savegame. Returns the unique identifier of the static
public static void RemoveStatic(string uuid)
Destroys the static with the given uuid.
public static void HighLightStatic(string uuid, Color color)
Taints the static idientified by its uuid with a color. Use Color.clear to remove the taint.
public static string GetModelTitel(string uuid)
Returns the human readable model titel for a static. Usable for displaying a list of statics.
public static void SetEditorRange(float newRange)
Sets the maximum placement range of the reduced set statics editor, which is callable through the API (SpawnObject)