Welcome, Guest! Login | Register
Radity - Code free* objects in Unity!
Info
Report
137 Posts

*This is conditional, read further down for more info

Hey there! A while ago I made a post on creating 3D Objects in Unity. Today I'm here to tell you that I have completed some of the objects, and want to talk about a couple of them.

So, three of the objects are complete and ready for use:
- EventOnContact
- EventOnProximity
- EventOnInput

However, EventOnValue is posing a couple problems which I won't go into full details about as it's complicated, but I think I have a solution. The problem here is that the solution requires a little code in order to work. See the example below:

So, as a prototype, I made this. This is how you would (hypothetically) use the EventOnValue:

private EventOnValue eventOnValue;

public float value1 = 0f;
public float value2 = 10f;

private void Start()
{
    eventOnValue = Radity.CreateEventOnValue();
}

private void Update()
{
    eventOnValue.ManageValue(v1, v2, EventOnValue.ValueType.EqualTo);

    if(eventOnValue.ConditionMet)
    {
        Debug.Log("value1 is equal to value2!");
    }
}

I know this may look complicated but it's very simple to use, easy to learn and I would include exaples of how to use it.

Let me know your thoughts, if you're happy with this then this object can be done today. Then I will make the timer and the first release will be out.
Created on: 5 months ago
Sponsored
Info
Report
195 Posts

if you can work this out accordingly you should share this around in unity forums too, i can see it would make the life of people new to unity a hell of a lot easier
Created on: 5 months ago
Info
Report
341 Posts

whats the equivalent code for eventonvalue in native script ?
Created on: 5 months ago
Info
Report
137 Posts

What do you mean by native script? 3D Rad script? If so, I have no idea I can't remember any angelscript.

Just one object left: timer. Once done I will post the objects.
Created on: 5 months ago
Edited on: 5 months ago
Info
Report
341 Posts

ok i'll wait to see the objects
Created on: 5 months ago
Info
Report
137 Posts

Update on the Objects:

I have finished them, now I'm just polishing them up and making the tutorial.
Created on: 5 months ago
Reply
Preview
Post
Or use the advanced reply form here...
Sponsored