I wanna access Boo’s static value from C#'s script
in the sample, it is “point”
It is Boo’s code
import UnityEngine
class GlobalValueManager (MonoBehaviour):
public static point as int = 0
There are my C# bad practice.
GlobalValueManager.point;
N/A
(gameObject.GetComponent("GlobalValueManager")).point;
N/A
GlobalValueManager other;
other = gameObject.GetComponent("GlobalValueManager") as GlobalValueManager;
other.point;
N/A
GlobalValueManager other = gameObject.GetComponent<GlobalValueManager>();
other.point;
N/A
please help me:shock: