Code Monkey home page Code Monkey logo

unity-winforms's Introduction

Unity Windows Forms

A Windows Forms port (including System.Drawing) to Unity3d, built on top of 'UnityEngine.GUI' class.

Supported Controls

  • Button;
  • CheckBox;
  • ComboBox;
  • DateTimePicker;
  • FontDialog;
  • Form;
  • GroupBox;
  • HScrollBar;
  • Label;
  • LinkLabel;
  • ListBox;
  • MenuStrip;
  • MonthCalendar;
  • NumericUpDown
  • OpenFileDialog;
  • Panel;
  • PictureBox;
  • ProgressBar;
  • RadioButton;
  • SaveFileDialog;
  • SplitContainer;
  • TabControl;
  • TextBox;
  • Timer;
  • ToolStrip;
  • ToolTip;
  • TrackBar;
  • TreeView;
  • VScrollBar;

Additional custom controls:

  • BitmapLabel;
  • ColorPicker (replacement for ColorDialog);
  • Highchart (replacement for Chart);
  • RepeatButton;
  • TableView (replacement for DataGridView);

Usage

  1. Attach UnityWinForms script to GameObject;
  2. Add Arial font to resources;
  3. Add other fonts and images;
  4. Create Form control in your MonoBehaviour script;
using UnityEngine;

using System.Windows.Forms;

public class GameGuiController : MonoBehaviour
{
	void Start()
	{
		var form = new Form();
		form.Show();
		
		// Or show a message.
		//// MessageBox.Show("Hello World.");
	}
}

Screenshots

scr1 scr1

From other projects using Unity-WinForms

scr1 scr1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.