Michsky – Docs Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact

Motion Titles Pack

  • Quick Start
  • Scripting
  1. Home
  2. Docs
  3. Motion Titles Pack
  4. Scripting
Updated on January 29, 2022

Motion Titles Pack

  • Quick Start
  • Scripting

Scripting

Author: admin 93 views

Learn how to change MTP variables using scripting.

Workflow

For animation or playback, you can use Style Manager functions. As long as ‘Force To Update’ is disabled, you can also directly reference TextMesh Pro or Image and change them using their API.

API / Scripting

				
					using Michsky.UI.MTP; // namespace

public StyleManager mtpObject;

void YourFunction()
{
   mtpObject.InitializeSpeed(1f); // Change animation speed
   mtpObject.showFor = 3f; // Show MTP object for a specific amount of time on play
   mtpObject.forceUpdate = false; // Force MTP object to update on enable
   mtpObject.Play(); // Play the animation
}				
			

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

Content

© 2023 Michsky