Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Pass value to OnPostProcessBuild() gets called

Discussion in 'Scripting' started by chrs1885, Oct 8, 2015.

  1. chrs1885

    chrs1885

    Joined:
    Jun 4, 2015
    Posts:
    4
    Hi,

    I'm developing a native plugin for iOS. The dev only has to add the plugin-gameobject to e.g. the main camera of the first scene. He can configure this gameobject by modifying its values in the inspector panel. When he builds the project,
    Code (CSharp):
    1. OnPostProcessBuild(BuildTarget target, string path)
    gets called, which changes the exported Xcode project. In this method I'd like to access the values of the inspector panel (plugin-gameobject).

    Is there a way to get this working?

    Thanks in advance