PixelCrushers.DialogueSystem.Examples.LuaExample Class Reference

This example registers a method named sqrt() for use in Lua. More...

Inheritance diagram for PixelCrushers.DialogueSystem.Examples.LuaExample:
Collaboration diagram for PixelCrushers.DialogueSystem.Examples.LuaExample:

Static Public Member Functions

static float sqrt (float x)
 This is an example function implemented in C# and made available to Lua using Lua.RegisterFunction(). More...
 

Detailed Description

This example registers a method named sqrt() for use in Lua.

Member Function Documentation

◆ sqrt()

static float PixelCrushers.DialogueSystem.Examples.LuaExample.sqrt ( float  x)
static

This is an example function implemented in C# and made available to Lua using Lua.RegisterFunction().

Returns
The square root of x.
Parameters
xA float value.

The documentation for this class was generated from the following file: