Skip to main content

GeneratedPositioning.Module

An abstract class in Root.Township, the global namespace.

Base asset for a step that changes a generated position or rotation, such as RandomYRotation.

Constructors​

MemberWhat it is
protected Module()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Methods​

MemberWhat it is
abstract void Modify(ref Vector3 position, ref Quaternion rotation)Changes the position and rotation in place.

Used in​

Members of other types that take, return or hold a Module: