Sorry for the late reply. I got sick past few days :/
Yeap. This is also the valid fix I am reading up while researcing this case.
There is not a problem with the generic methods, rather with the open generic instances created in runtime.
At least from what I understood, the following code would suffice to work for the variables and parameters.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
usingNodeCanvas.Framework;
usingUnityEngine;
publicstaticclassAOTDummy{
#pragma warning disable 0168
publicstaticvoidDummyVariables(){
Variable<string>s;
Variable<float>f;
Variable<int>i;
Variable<bool>b;
Variable<Vector2>v2;
Variable<Vector3>v3;
Variable<Rect>r;
Variable<Color>c;
Variable<Object>obj;
}
publicstaticvoidDummyParameters(){
BBParameter<string>s;
BBParameter<float>f;
BBParameter<int>i;
BBParameter<bool>b;
BBParameter<Vector2>v2;
BBParameter<Vector3>v3;
BBParameter<Rect>r;
BBParameter<Color>c;
BBParameter<Object>obj;
}
#pragma warning restore 0168
}
It would be awesome if someone can check until a mac arrives home 🙂
Thanks
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.