Search Unity

.bundle

Discussion in 'Scripting' started by Cav, Aug 2, 2006.

  1. Cav

    Cav

    Joined:
    Aug 2, 2006
    Posts:
    93
    I have been looking at running C scripts in unity, and specifically at the midi block 'demo'. i was hoping someone here could answer a question: can you explain a .bundle file, how you go about making one and its purpose? The way i see it to use the C code in Unity you have to make the xcode project into a bundle, but how do i do this?

    thanks for any help.
    Cav.
     
  2. freyr

    freyr

    Joined:
    Apr 7, 2005
    Posts:
    1,148
    .bundle files are files containing dynamically loadable code.

    developer.apple.com has this guide on how to create one with XCode Creating Loadable Bundles

    The problem is that Apple uses the word "bundle" about two things. Namely the way they bundle executables and resources together into a folder, that is disguised as a file in the Finder and then Mach-O bundles, which is a file format containg loadable code.
     
  3. Jonathan Czeck

    Jonathan Czeck

    Joined:
    Mar 17, 2005
    Posts:
    1,713
  4. Cav

    Cav

    Joined:
    Aug 2, 2006
    Posts:
    93
    thanks very much! somehow i completly missed that plugin page in the manual!

    ill see what i can do now!