Native Mobile Input

Unity Plugin Documentation

© SkangoGames LLC 2025, All rights reserved.

Features

Usage - Basic Setup

  1. Add the NativeMobileInput component to any GameObject in your scene
  2. Configure the canvas selection mode:
    • AutoDetect: Automatically finds the first suitable canvas
    • ManualSelect: Manually assign a specific canvas
  3. Choose initialization mode:
    • Immediate: Initialize on Start
    • Delayed: Wait for specified time before initializing
    • Manual: Initialize when explicitly called
  4. Configure the canvas movement when the keyboard appears
  5. Set up copy/paste button prefabs

Configuration Options

Canvas Settings

Initialization Settings

General Settings

Animation Settings

Movement Limits

Copy/Paste Button Settings

Editor Settings

Best Practices

Code Examples

Manual Initialization

// Get reference to NativeMobileInput component
public NativeMobileInput mobileInput;

void OnUIReady()
{
    // Initialize the plugin when your UI is ready
    mobileInput.Initialize();
}

Multiple Canvas Setup

// Add multiple NativeMobileInput components
// Each one can be configured for a different canvas
public NativeMobileInput mainCanvasInput;
public NativeMobileInput popupCanvasInput;

void Start()
{
    // Configure each input handler for its specific canvas
    mainCanvasInput.targetCanvasManual = mainCanvas;
    popupCanvasInput.targetCanvasManual = popupCanvas;
}

🚀 Installation

  1. Import the 'Native Mobile Input' package into your Unity project
  2. Add the NativeMobileInput prefab from package prefabs folder to your scene. That's it!
  3. For Editor simulation, place a keyboard image in Resources/Keyboard
You can play around with settings now to get best results, even at runtime, no need to reload the scene. If you want to ignore some fields from our plugin, you can, read that in another section in documentation.

🔒 Ignoring Specific Input Fields

To exclude specific input fields from the plugin's behavior:

  1. Add the IgnoreNativeMobileInput component to the input field GameObject
  2. The plugin will now ignore this input field and won't adjust its position or zoom
// Example
inputField.gameObject.AddComponent<IgnoreNativeMobileInput>();

📜 Scroll View Integration

📱 Platform Support

📋 Requirements

⚠️ Troubleshooting

1. Input Fields Not Moving:

2. Keyboard Overlay Not Showing in Editor:

3. Scrolling Issues:

📄 License

This is proprietary software. All rights reserved. See LICENSE file for full terms and conditions.

For licensing inquiries, please contact: [email protected]