|
Hi there, I am looking for this for quite some time now. i have a big level with several game objects. I want a certain scripts to be attached to the object when it is created or a pop up window to be displayed when a new object is created. I have done the window part but it is working with menu item now. What exactly i need is a function like OnCreate or something, that would call this window automatically. or any simple work around is accepted. Problem is the designer misses out on adding scripts to a lot of game objects, which is wasting a lot of my time..
(comments are locked)
|
|
Don't blame the designer :P Suggestions:
you got some really valid points(especially the popup one). but, RequireComponent cannot be used in this case because there is no script attached to the GO that is the problem. And the editor window i have created would take care of what components to be attached. My main motive is to save both our time. he need not test every little thing he has created. That is the reason i have done editor scripts even.
May 30 '12 at 07:14 AM
flamy
(comments are locked)
|

Good question.
You can always do: while (designer != Concentrated) { ReplaceDesigner(); }
haha true, in this case cant help it, attaching to 600+ invidual objects + its children. even i would get tired .
And good designers are real hard to find anyway :P