Quantcast
Channel: Latest Questions by Lance Sun
Browsing all 14 articles
Browse latest View live
↧

How do I programmatically assign a GameObject to a prefab?

When importing a mesh, I want to automatically create a prefab for that mesh, and assign that mesh to the new prefab. I have something like this:public class MyAssetPostprocessor : AssetPostprocessor {...

View Article


Creating a complex prefab during asset postprocessing

In OnPostprocessModel, I want to prepare a GameObject that is parented to another GameObject, and then create a prefab out of that. This works fine, but it leaves an instance in the scene. When I try...

View Article


How do I center things on screen using GUILayout?

I have a GUILayout button. How would I center it on screen?void OnGUI() { GUILayout.Button("OK"); }

View Article

Some unhandled exceptions crash Unity

It seems that only unhandled exceptions thrown in the update loop will be logged. All other unhandled exceptions, such as those thrown in the Awake, or from another thread will crash Unity. // caught...

View Article

Distributed Beast

Is there a way to distribute the Beast computations across multiple computers?I've installed Incredibuild with XGE on several computers. I think everything is configured correctly, but it is not using...

View Article


How do I report a bug that doesn't crash Unity?

Unity has a bug reporting system that pops up on a crash. But if I encounter a bug that doesn't crash Unity, how do I report that?

View Article

Are release notes available for the 3.0.0 beta builds?

Are there release notes available for the 3.0.0 beta builds? (Change logs or otherwise)

View Article

How do I programmatically assign a GameObject to a prefab?

When importing a mesh, I want to automatically create a prefab for that mesh, and assign that mesh to the new prefab. I have something like this:public class MyAssetPostprocessor : AssetPostprocessor {...

View Article


Creating a complex prefab during asset postprocessing

In OnPostprocessModel, I want to prepare a GameObject that is parented to another GameObject, and then create a prefab out of that. This works fine, but it leaves an instance in the scene. When I try...

View Article


How do I center things on screen using GUILayout?

I have a GUILayout button. How would I center it on screen?void OnGUI() { GUILayout.Button("OK"); }

View Article

Some unhandled exceptions crash Unity

It seems that only unhandled exceptions thrown in the update loop will be logged. All other unhandled exceptions, such as those thrown in the Awake, or from another thread will crash Unity. // caught...

View Article

Distributed Beast

Is there a way to distribute the Beast computations across multiple computers?I've installed Incredibuild with XGE on several computers. I think everything is configured correctly, but it is not using...

View Article

How do I report a bug that doesn't crash Unity?

Unity has a bug reporting system that pops up on a crash. But if I encounter a bug that doesn't crash Unity, how do I report that?

View Article


Are release notes available for the 3.0.0 beta builds?

Are there release notes available for the 3.0.0 beta builds? (Change logs or otherwise)

View Article
Browsing all 14 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>