Editor Button by Kilosoft - 2

FrameworksSDKExtensionsGames & Projects

Add Button to Inspector Unity3D

Unknown VersionUnknown LicenseUpdated 39 days agoCreated on February 7th, 2018
Go to source

EditorButton

Add Button from method to Inspector Unity3D

Discord

Button in Inspecor

Debug Screen

Installation

Download the UnityPackage from the latest releases and import it into Unity. The directory can be moved after being imported.

Usage

Add

using Kilosoft.tools

Mark any public method(void) with the attribute [EditorButton(name = “”)]

using UnityEngine;
using Kilosoft.Tools;

/// <summary>
/// Test script
/// </summary>
public class TestScriptButton : MonoBehaviour
{
    [EditorButton("Test Button [Press me]")]
    public void TestMethod()
    {
        Debug.Log("I am Fire!");
    }
}

Thank you! Good luck! Kilosoft

Show all projects by Kilosoft