Skip to main content

RandomRotation3d

A class in Root.Township, the global namespace.

Generation part that gives its object a fully random rotation when the static generation runs.

Constructors​

MemberWhat it is
RandomRotation3d()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
override void GenerateStatic(GenerationCore core, bool isModifyingTerrain)Sets the transform to a uniformly random rotation.