Quantcast
Channel: Questions in topic: "attributes"
Browsing latest articles
Browse All 16 View Live

Get RangeAttributes from built in class using Reflection

I am working on an in game GUI for editing parameters of the built in audio filters. Using reflection, I was able to get the values of these parameters, but I am struggling to get the RangeAttributes...

View Article



GLSL version 400 vertex attributes

I am writing a shader in GLSL (version 400) using the keyword GLSLPROGRAM. The shader itself works fine, but I am only able to fetch the position vertex attribute (using `in vec4 position` in the...

View Article

How to mark a method Obsolete

The attribute [Obsolete] does not seem to work with Unity. Is there an alternative?

View Article

Can attributes modify runtime behaviour

I discovered attributes in the form of the range attribute. I thought it would restrict the value of an int, but when I try to add to the number to the point where it gets bigger than the max it just...

View Article

See MonoScript's attributes in the inspector (when it is in an array)

I'm trying to do a script that has an array of type UnityEngine.MonoScript and I can add from the inspector as many scripts as I want :D but I also need to modify the public attributes of each...

View Article


[SOLVED]From superior script to subordinate script

Hey guys, today I have been working around this issue like half of a day. I would like to see some comparison between some methods. First I will try to explain you what did I do. I am developing...

View Article

Mesh Attributes Grayed Out in Inspector

I have an issue where all the models from the project folder will have their attributes grayed out in the inspector. Not sure what I may have accidentally hit to cause this but any help would be...

View Article

Expression Attribute not working

Hi, I have made a new attributted called Faces on maya. (it changes the texture like Pocoyo https://vimeo.com/35310598) It is new attribute like translation or rotation, but unity not get it, like...

View Article

Browsing latest articles
Browse All 16 View Live




Latest Images