Scripting API
Scripting API
JSStandInAttribute
Class in Abyss.Core, from Abyss.Core.
Marks a class whose static methods answer the JSImportAttribute methods of JSStandInAttribute.Of in the editor and in a desktop build, where there is no page: each the method of the same name, parameters and result. A method it has none for gives its result's default there, and says so once in the log.
public sealed class JSStandInAttribute : AttributeConstructors
JSStandInAttribute
public JSStandInAttribute(Type of)Marks a class whose static methods answer the JSImportAttribute methods of JSStandInAttribute.Of in the editor and in a desktop build, where there is no page: each the method of the same name, parameters and result. A method it has none for gives its result's default there, and says so once in the log.
Parameters
of: The class whose[JSImport]methods it answers.
Properties
Of
public Type Of { get; }The class whose [JSImport] methods it answers.
