Skip to content

nem0/lumixengine_csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# plugin for Lumix Engine


Warning: the latest version is not in usable state!

build Discord Chat License Twitter

Getting started:

  1. Install mono
  2. Install this plugin
  3. Build and run Lumix Engine Studio, you can now create and use C# scripts

Videos

Sample

public class Test : Lumix.Component
{
	float yaw = 0;
	void OnInput(Lumix.InputEvent e)
	{
		if (e is Lumix.MouseAxisInputEvent)
		{
			var ev = e as Lumix.MouseAxisInputEvent;
			yaw += ev.x * 0.02f;
		}
	}

	void Update(float td)
	{
		this.entity.Rotation = Lumix.Quat.FromAngleAxis(yaw, new Lumix.Vec3(0, 1, 0));
	}
}

Releases

No releases published

Packages

No packages published