In the IDE (Mac Beta v11 v220.127.116.11) when you have method variables defined in a struct and you are using them from other scripts, when you highlight a method variable used in your script and hit F1 you are NOT taken to the script file with the struct in. In fact F1 just does nothing.
It would be good if it could take you into the correct script file where the struct defines that method variables and as an added bonus it would be good to be taken to the method variable declaration itself.
function fps_recorder(_max_buckets, _bucket_size, _histogram_lines) constructor
max_buckets = _max_buckets
bucket_size = _bucket_size;
max_bucket_value = max_buckets * bucket_size;
steps_in_buckets = 0
fps_buckets = array_create(max_buckets + 1);
static Add = function(_fps_reading)
var bucket_slot = round(clamp(_fps_reading, 0, max_bucket_value) / bucket_size);
Please sign in to leave a comment.