Modular 3D Ranks
  • Getting Started
  • ๐Ÿ‘๏ธThe Inspector
    • โšซMaterial Shortcuts
  • ๐ŸŽ–๏ธRank
    • โญIcon
      • Create New Icon
    • ๐Ÿ”ณBorder
      • Create New Border
      • โ—พInside
    • ๐ŸชฝWings
      • Create New Wings
  • ๐ŸงบSpawn Animations
    • Create New Spawn Animation
  • ๐Ÿ“œScripting References
    • class Rank
      • struct Body
        • struct Inside
        • enum ExitAnimationType
        • enum EntryAnimationType
    • public class Wing
  • Just FYI
    • Full Mesh Information
Powered by GitBook
On this page

Rank

PreviousMaterial ShortcutsNextIcon

Last updated 1 month ago

A Rank can have different pieces.

Each piece has many different variances you can choose from with an interactive inspector.

The inspector will automatically update with new fields and options depending on your choice, and whether you are in play-mode or edit-mode.

When you are done, you can save it. And it will show up in the list of available Ranks.

Script Reference

You can use the ApplyRank method to modify the rank via code or buttons.

ranksAnimationController.ApplyRank(i);
Method
Description

Retrieves the rank from the ranks list at the specified index and applies it.

If an invalid index is passed, it logs a warning message and returns. Doesn't print an error.

Applies a rank from the ranks list by its exact name. If the rank is not found or the name is invalid, a warning is logged.

Applies the rank passed as parameter.

๐ŸŽ–๏ธ
ApplyRank(int index);
ApplyRank(string rankName);
ApplyRank(Rank targetRank);