Cattywampus
Cattywampus
CC#
Created by CrosRoad95 on 9/14/2024 in #help
Looking for c# library to create graph, blueprint like functionality in unreal engine
you can make your own custom graph with their graph api pretty easily.
6 replies
CC#
Created by CrosRoad95 on 9/14/2024 in #help
Looking for c# library to create graph, blueprint like functionality in unreal engine
interfacing other ui framework to UE ain't the easiest thing in the world. just saying
6 replies
CC#
Created by CrosRoad95 on 9/14/2024 in #help
Looking for c# library to create graph, blueprint like functionality in unreal engine
oh wait... this is for unreal? then you're out of luck
6 replies
CC#
Created by CrosRoad95 on 9/14/2024 in #help
Looking for c# library to create graph, blueprint like functionality in unreal engine
that's WPF tho
6 replies
CC#
Created by CrosRoad95 on 9/14/2024 in #help
Looking for c# library to create graph, blueprint like functionality in unreal engine
6 replies
CC#
Created by Cgrevox on 9/14/2024 in #help
how to call another method
myClass.MyMethod() is called instance method
6 replies
CC#
Created by Poseidon on 8/25/2024 in #help
Passing one int from one script to another
use FindFirstObjectOfType if you can and if there's only 1 instance of it as it completely removes the sorting and should be faster that the findObjectOfType.
14 replies
CC#
Created by Poseidon on 8/25/2024 in #help
Passing one int from one script to another
Not true, no difference for statics in Unity. You can use it like you would in plain c#
14 replies
CC#
Created by Poseidon on 8/25/2024 in #help
Passing one int from one script to another
see the declaration parts. You must match one of the signatures
14 replies
CC#
Created by Poseidon on 8/25/2024 in #help
Passing one int from one script to another
14 replies
CC#
Created by Poseidon on 8/25/2024 in #help
Passing one int from one script to another
should be
var test = FindObjectOfType<CameraController>();

//OR

var test = FindObjectOfType(typeof(CameraController));
var test = FindObjectOfType<CameraController>();

//OR

var test = FindObjectOfType(typeof(CameraController));
14 replies
CC#
Created by IceBlocker on 7/26/2024 in #help
Sell me on interfaces (and components if unity)
and if it's Unity (as your title says), you can pass things by references rather than copy by value in Unity and have them serialized via ISerializeReference :blobthumbsup:
30 replies
CC#
Created by Paradoxial on 5/19/2024 in #help
Why does this function return NaN?
just a wild guess, you should debug it and see the conversion value
29 replies
CC#
Created by Paradoxial on 5/19/2024 in #help
Why does this function return NaN?
Possibly due to the radian conversion is invalid. For instance, negative degrees
29 replies
CC#
Created by ScootyScoot on 4/2/2024 in #help
Rectangle intersection not workin
that said, avoid using intersect/overlap on Rects unless they're static objects.
10 replies
CC#
Created by ScootyScoot on 4/2/2024 in #help
Rectangle intersection not workin
Intersect/contains on a Rectangle is just regular method that checks if they're overlapping on static objects(mostly) and they don't do any raycast ahead of them so that's why they can fail in lotta scenarios
10 replies
CC#
Created by ScootyScoot on 4/2/2024 in #help
Rectangle intersection not workin
think of it similar to frame-skipping
10 replies
CC#
Created by ScootyScoot on 4/2/2024 in #help
Rectangle intersection not workin
for example if you're linearly interpolating them, make sure the result of your speed * t * delta on your interpolator /lerp won't surpass the width / height of the target rectangle you're colliding with
10 replies
CC#
Created by ScootyScoot on 4/2/2024 in #help
Rectangle intersection not workin
there are couple of reasons on why your Rectangle.intersect may not work
10 replies
CC#
Created by Synae on 3/18/2024 in #help
Issue with dynamic
is this for modding?
28 replies