Coder Social home page Coder Social logo

unity3d.sample's Introduction

Unity3D.Sample

Minimal project for developing with Unity3D in Visual Studio 2013. With this project you can develop a game completely from

code instead of endlessly clicking in the Unity Editor.

Target framework of the project is

'Unity 3.5 .NET full Base Class Libraries' (a subset of Microsoft.NET 3.5)

First install Visual Studio 2013 tools for Unity 4.5

https://visualstudiogallery.msdn.microsoft.com/20b80b8c-659b-45ef-96c1-437828fe7cf2

To get it working:

. Clone repository

. Open UnitySources\UnityVS.UnityProject.sln in Visual Studio

. Rebuild. On build the following Post-Build command is executed to create a mono debug file (mdb): "$(SolutionDir)\tools\pdb2mdb.exe" "$(TargetPath)"

If all goes well, in the directory UnityProject\Assets\Plugins 6 Unity3DPlugin files are created.

. Start UnityProject\Assets\main.unity in Unity

. Click 'Main Camera' (upper left), click button right to 'Script: Missing (Mono script)' doubleclick 'SampleBehaviour'

. Press Run in Unity. The camera background should turn black (see code in SampleBehaviour).

For debugging:

. Stop Unity with running

. Set a breakpoint in Samplebehaviour method Start()

. In Visual Studio click Debug -> Attach Unity debugger and select the Unity instance

. Press start in Unity

Visual Studio should now hit the breakpoint in SampleBehaviour.

unity3d.sample's People

Contributors

bertt avatar

Watchers

Moqi avatar James Cloos avatar

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.