UnityEngine.AndroidJavaObject.Set C# (CSharp) Method

Set() public method

public Set ( string fieldName, FieldType val ) : void
fieldName string
val FieldType
return void
		public void Set(string fieldName, FieldType val){}
		public FieldType GetStatic(string fieldName){}

Usage Example

コード例 #1
0
	public static void Init(bool rawEnabled){
#if UNITY_IPHONE
		TGAM_Init(rawEnabled);
#elif UNITY_ANDROID
		jc = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
		jo = jc.GetStatic<AndroidJavaObject>("currentActivity");
		jo.Set<bool>("sendRawEnable", rawEnabled);
#endif
	}
All Usage Examples Of UnityEngine.AndroidJavaObject::Set