objectReferenceValue in SerializedProperty
I am trying to make a PropertyDrawer for a custom type of mine where the user can select from a dropdown which sets the property as one of a few predefined static instances of this custom type. Boiled...
View ArticleSelect a readonly value from dropdown using PropertyDrawers
I'm wondering if it's possible to use PropertyDrawers to select a value from a dropdown to assign a property's value to be that of a readonly static variable. Example, say I have a CustomColor type...
View ArticleUse result from first shader pass in second pass
I'm trying to write a shader for a SpriteRenderer which does a gaussian blur on the texture which is typically done in 2 passes. The first pass does a vertical blur and the second pass uses the result...
View ArticleCustom assets give Missing (Mono Script)
I've got a set of custom .asset files which use a bunch of ScriptableObjects to serialize some information I need (these ScriptableObjects are defined in my own DLLs if that matters). After upgrading...
View ArticleUnity analytics not working for android or windows builds
So I've set up Unity analytics as described by the tutorial and I get custom events to appear from the Editor but I don't get any data from android devices running the game or from building it on...
View ArticleUsing 2 DLLs with the same name
I have a DLL (let's call it A.dll) that depends on another DLL (let's call it B.dll) that has two different versions, one for mobile and one for standalone. I want unity to choose the correct B.dll for...
View ArticleEditing code while debugging with Visual Studio
I'm looking for a way to no longer get the "Changes are not allowed while code is running" pop up whenever I edit some code w/ Visual Studio when debugger is attached and have it let me perform...
View ArticleReset a SerializedProperty to it's default value.
I'm writting a customDrawer for a PropertyAttribute. I would like to be able to reset the property under some conditions. Ex : [Resettable] public int someValue = 5; In the associated PropertyDrawer's...
View ArticleCreate an InputField in 3D space
Hi, I would like to create an InputField in 3D space rather than using the canvas. I've tried using TMP_InputField targeting a normal TextMeshPro but am running into null exceptions with the Caret....
View Article
More Pages to Explore .....