[ConfigWindowMaxSize]

Attribute defines the maximum size of a configuration editor window for a ScriptableObject asset.

Parameters

Parameter
Type
Description

width

float

Maximum window width in pixels.

height

float

Maximum window height in pixels.

Examples

using RenownedGames.Apex;
using UnityEngine;

[ConfigWindow("Fixed Size Window")]
[ConfigWindowMaxSize(800, 600)]
public class FixedSizeConfig : ScriptableObject
{
    // ...
}

Last updated