Browsing articles tagged with " c#"
Jan
10
2015

Simple Event & Delegate Script

Just a quick test on events & delegates (taken from this live tutorial) – New scene – Add Sphere object to the scene (and move it into Main Camera view, for example 0,0,0) – Create new script: FireEvent.cs     – Attach “FireEvent.cs” script into […]

Jan
1
2014

Get Custom Properties from 3dsMax FBX model

Maybe not from the fbx file itself (?), but each object can have custom properties, and Unity can read them on import. Exporting FBX from 3ds Max with Custom Properties – Right click on the object – Select Object Properties – Type custom properties to […]

Aug
23
2013

CustomPropertyDrawer in C#

Unable to find any complete _and_ working basic C# example of custom propertyDrawer usage.. Oo? (adding some example here once I find/get it working..) Resources: – Intro on PropertyDrawers : http://blogs.unity3d.com/2012/09/07/property-drawers-in-unity-4/ (but getting lots of errors from those samples.. “The type or namespace name `Popup’ […]

Apr
12
2013

Water Particles

Converted this javascript demo to Unity C#: Aqualibrium by Gerard Ferrandez Info: – Had to make some modifications since all those javascript [this] that.x variables were quite complicated..but seems to work 🙂 – Screenshot shows 500 spheres with debug.drawlines to each neighbour particle (added gravity […]

Apr
9
2013

A* PathFinder 2D & 3D

Converted this pathfinder to Unity: “Another faster version of A* (2D+3D) in C#” (by Roy Triesscheijn) That was amazing: 0 errors when dragged those c# files into unity Oo! Just added those boxes and linerenderer to draw the path.. (main image is 20x20x20 grid with random […]

Mar
26
2013

KDTree Find Nearest Object

Small test using the KDTree from unity forums (link to the post, source is attached there). Webplayer: http://unitycoder.com/upload/demos/KDTreeUnity/ (2000 objects)    

Feb
5
2013

First impressions using UnityVS

Been using UnityVS some days now (only for simple scripting), heres few notes about it. *adding more notes later. (you can get a free trial version from here) UnityVS+VisualStudio2010+Unity4 Good Stuff: – Real autocomplete! (for unityscript also!) – AutoComplete. – Autocompl… yes, it saves a […]

Nov
29
2011

Convay – Game of Life (Unity C#)

Convay – Game of Life, unity c# version (ported from prosessing) See wikipedia: http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life Going to try using 3D boxes later, instead of drawing pixels on a plane.. Webplayer: http://unitycoder.com/upload/demos/mConvay1/ Download webplayer source: (C#) mConvay.unitypackage

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.