Show / Hide Table of Contents

Interface ToolsArea.ToolAction

Defines a certain action that can be done for an action in the WeaverCoreDebugTools menu

Namespace: WeaverCore.Assets
Assembly: WeaverCore.dll
Syntax
public interface ToolsArea.ToolAction

Properties

| Edit this page View Source

ToolName

The name of the tool

Declaration
string ToolName { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

OnGameObjectUpdated(GameObject)

Called when the selected gameObject in the RuntimeHierarchy is updated. If this function returns true, the tools button will be displayed

Declaration
bool OnGameObjectUpdated(GameObject selection)
Parameters
Type Name Description
GameObject selection

The newly selected onbject in the RuntimeHierachy

Returns
Type Description
bool

Returns whether this tool is able to work on the object

| Edit this page View Source

OnToolExecute()

Called when the tool is executed

Declaration
void OnToolExecute()

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾