Search results

Jump to: navigation, search
  • * Examples at http://www.briancowan.net/code/ * Code provided as-is. You agree by using this code that I am not liable for any damage
    28 KB (3,732 words) - 20:47, 10 January 2012
  • [[http://unity3d.com/support/resources/example-projects/procedural-examples PerlinNoise]] // This is a port of Ken Perlin's Java code. The
    5 KB (540 words) - 04:01, 23 October 2012
  • ...ad, describe what you expected to happen and what actually happened. Show code and pictures if necessary. When you have an error message, tell us exactly *If you want to show code to other users, don't paste it directly into the channel unless it's only o
    9 KB (1,574 words) - 17:14, 7 May 2019
  • * '''Profile first.''' Don't spend time trying to optimize some obscure code or reducing the size of a texture unless you know it is a bottleneck. Alway ...or aiff files in order not to spend CPU cycles on uncompressing the audio. Examples of where this matters are rapid gunshots, footsteps and similar.
    11 KB (1,810 words) - 22:19, 12 April 2013
  • ...tml EditorWindow]’s it is often important to initialize and cleanup your code when the window is shown and hidden. Specifically it is important to differ ...unity3d.com/index.php/Folder_Paths_Win_Mac available here] along with code examples.
    21 KB (2,794 words) - 05:23, 17 January 2016
  • '''The above code will still run without the explicit types in the examples above, but it will revert to dynamic type checking, which is slower.''' ...ance: Run-time type checking takes a bit of processing time, expecially in code that gets run over and over. Statically typed variables (manually typed or
    8 KB (1,159 words) - 20:52, 10 January 2012
  • ...ion and communication in one javascript file and allows you to use minimal code to embed .unityweb's in your web pages. The code is based on the examples UT has given in the manual and the work Geoff Stearns has done with SWFObje
    12 KB (1,200 words) - 20:53, 10 January 2012
  • If you wanted to, this could be done in less code. For example: It all depends on what your code readability tolerance is.
    8 KB (1,110 words) - 18:28, 18 January 2013
  • This C# code snippet generates an MD5 hash for an input string. The formatting will mat In your code, access the function using "hash = md5functions.Md5Sum("string");", where t
    3 KB (368 words) - 20:52, 10 January 2012
  • ...un (executed), the generic language then gets translated to machine native code. This is pretty much the same as Java. Java and .NET are just platform inde ...loads/download.html Mono with MonoDevelop], which we'll use in some of our examples.
    2 KB (384 words) - 19:35, 30 May 2008
  • ... so we can test out all of our code. We're not going to explain all of the code yet, we just want to get familiar with Unity and C# scripts first. So go ah ...ars. This is Unity building your scripts in the background when you save a code file. It compiles and then any errors or warnings are listed on the bottom.
    21 KB (3,491 words) - 23:16, 1 December 2012
  • ===Code Break=== ...ve inputs (like OnGUI), but hopefully you can see the usefulness as in the examples above. When you call a function it must have the same number of parameters
    14 KB (1,942 words) - 20:36, 22 March 2012
  • Here is the C# code for the server binary. Create a new Windows Forms application and add this code to the project.
    38 KB (4,148 words) - 20:47, 10 January 2012
  • Example runner code is as follows: ...ow only 6 test run. To find out what is running you will have to check the code. In RunnerTestCase, the following is the line which adds tests to the test
    4 KB (621 words) - 19:06, 3 December 2013
  • ...amera up close because it will be one unit in height,width, and depth. The code is commented and to modify the metaball movement just change Update() and S The code uses a Marching Cubes algorithm, and does a few things, such as trying to p
    37 KB (4,899 words) - 08:25, 5 March 2013
  • * Examples at http://www.briancowan.net/code/ * Code provided as-is. You agree by using this code that I am not liable for any damage
    23 KB (3,058 words) - 20:47, 10 January 2012
  • That's three empty statements and legal code! An empty statement doesn't do anything, which is why it's called empty. ...ed using begin '{' block and '}' end block. Ready for some more do nothing code:
    12 KB (2,075 words) - 00:24, 22 November 2018
  • ...like Start and Update), but hopefully you can see the usefulness as in the examples above. When you call a function it must have the same number of parameters '''Note:''' The examples in this section use the following variables:
    22 KB (3,261 words) - 00:42, 22 November 2018
  • OK, warnings are gone. But lets do something that we can see. So type this code in these methods: ...nction, but they appear as a variable. Still confused? OK, lets write some code. Add this property somewhere in our Player class, I'll put mine before the
    9 KB (1,361 words) - 20:45, 10 January 2012
  • == Get the Code == See the ShowProperties.cs and EditPatch.cs scripts for examples.
    3 KB (490 words) - 20:52, 10 January 2012

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Extras
Toolbox