Quantcast
Channel: Latest Questions by weltraumaffe
Browsing index pages (12 articles)
↧

Set alpha in Standard Shader

I want to set the alpha of a material with the Standard Shader. I created the following method. public void SetAlpha(float alpha) { Material mat = new Material(_meshRenderer.sharedMaterial); mat.color...

View Article


Z sorting of Handles

I was wondering if it is at all possible to order the drawing of handles by distance from camera. I use handles to draw nodes of a graph and the nodes are drawn one after another and overlay...

View Article


When saving the scene the editor still says there are changes left

Hello, in my current Project when I hit the save button Unity still displays a * in the Title Bar (like this "Unity - Scene.unity - MyProject - PC, Mac & Linux Standalone*) indicating that there...

View Article

Custom inspector like Script Execution Order

Hello, is there a way to make a custom Inspector that looks and works like the Script Execution Order Editor (The one under Edit/Project Settings/Script Execution Order)?

View Article

Enum Flags not working (selecting wrong value)

Hi i want to use a System.Flags enum in a component. Also i wrote a custom editor. This is the Enum. [System.Flags] public enum ConnectorGender { Neutral = 1, Female = 2, Male = 4 } The custom editor...

View Article


/// comments in Unity

Hi, when I program code in C# using Visual Studio is use the /// comments to describe my classes and methods. These descriptions are visible with IntelliSense. Is there a way to display these comments...

View Article

Set alpha in Standard Shader

I want to set the alpha of a material with the Standard Shader. I created the following method. public void SetAlpha(float alpha) { Material mat = new Material(_meshRenderer.sharedMaterial); mat.color...

View Article

Z sorting of Handles

I was wondering if it is at all possible to order the drawing of handles by distance from camera. I use handles to draw nodes of a graph and the nodes are drawn one after another and overlay...

View Article


When saving the scene the editor still says there are changes left

Hello, in my current Project when I hit the save button Unity still displays a * in the Title Bar (like this "Unity - Scene.unity - MyProject - PC, Mac & Linux Standalone*) indicating that there...

View Article


Custom inspector like Script Execution Order

Hello, is there a way to make a custom Inspector that looks and works like the Script Execution Order Editor (The one under Edit/Project Settings/Script Execution Order)?

View Article

Enum Flags not working (selecting wrong value)

Hi i want to use a System.Flags enum in a component. Also i wrote a custom editor. This is the Enum. [System.Flags] public enum ConnectorGender { Neutral = 1, Female = 2, Male = 4 } The custom editor...

View Article

/// comments in Unity

Hi, when I program code in C# using Visual Studio is use the /// comments to describe my classes and methods. These descriptions are visible with IntelliSense. Is there a way to display these comments...

View Article
Browsing index pages (12 articles)


Latest Images