Skip to content

InteractionAssetCreator

Namespace: FireSoftworks.Interaction.Editor
Assembly: FireSoftworks.Interaction.Editor
Type: Class

Editor utilities for creating Interaction System assets.

public static class InteractionAssetCreator

Methods

CreateAsset<T>(string)

Generic helper that creates a asset of type T in the currently selected project folder, generating a unique file name automatically.

public static void CreateAsset<T>(string defaultName) where T : ScriptableObject

Parameters

NameTypeDescription
defaultNameSystem.StringBase file name used when generating the asset path.

CreateInteractableActionSO()

Creates a new InteractableActionSO ScriptableObject asset in the current directory.

[MenuItem("Assets/Create/FireSoftworks/Interaction/SO Actions/Interactable Action SO")]
public static void CreateInteractableActionSO()