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

Motion Titles Pack

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

Motion Titles Pack

  • Quick Start
  • Scripting

Scripting

Author: admin 182 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.

© 2024 Michsky