Hi,
we need a very simple editor script for unity.
it allows you to call any method from the inspector by adding a simple tag before the method.
example:
[button]
void Add ( string key, GameObject value ) { }
- the 'Add' method must show in the inspector with its parameters
- with the ability to modify the string 'key', and assign the gameObject 'value'
- string 'key' and game object 'value' must be stored (serialized) in the unity editor ( in the editor only, not the built game )
- 'key', 'value' must be saved when the unity project is closed & re-opened)
Features:
1. show methods in the inspector by adding a simple tag before the method
2. serialize the method parameters in the inspector
- values must be saved in the unity editor ( maintained when unity is closed and re-opened ) ( saved in the editor only, not included in the game )
- if the method has parameters, a small blue rectangle must be drawn around the button & it's parameters
that is the core of what we need.
the remaining features are very simple :
Other features:
3. script must work for methods that exist in both MonoBehaviors or ScriptableObjects
4.must work for all methods: static, non static, public, private, internal ...etc .
5. must support multiple object selection:
- if 2 game objects with the same script are selected
- when the button is clicked, it executes the method on each game object separately.
- example: if a method doubles a game object scale, when 2 game objects are selected & the button is clicked, both game objects get their scale doubled.
6. script must support three tags:
a. [Prefab] tag: creates inspector button that executes the method when the button is clicked without any checks.
b. [edit] tag: creates inspector button that does a check before execution,
- if the selected object is a prefab:
- then it does NOT execute
- it logs an error to the console 'Selected object is a prefab, use [prefab] tag to execute method on a prefab'
- the button must be colored pink in the inspector if the selected object is a prefab ( to indicate it cannot execute ).
c. [play] tag : creates inspector button that :
- does not execute if the selected object is a prefab
- does not execute if unity editor is not playing
- same actions as the [edit] button [ if game is not running or selected game object is a prefab, then it logs an error when clicked, it also must be colored in pink to indicate that it cannot execute )
Ownership:
we get full ownership of the scripts & we own the full rights to use, modify, distribute, sell the scripts.
- the freelancer has no right to distribute, or re-sell the scripts.
About the recuiterMember since Sep 13, 2017 Gregory P Benso
from Illinois, United States