I really looked all over the forum and on unity answers and no one explain this really well:
I have this code on my C sharp script :
using UnityEngine;
using System.Collections;
[RequireComponent (typeof (GUITexture))]
public class MenuController : MonoBehaviour
{
public static bool TouchSelect = true;
public static bool AceSelect = false;
public static bool JoypadSelect = false;
//…
I tried on my java script this : MenuController.(but it doesn’t open the variables here )
And I want to access these variables on my java script, but how can I do that?
this information is really needed because I have mixed a few java scripts with my C sharp ones!
Of course I can change my java scripts to C sharp but I am a real HARD headed guy
and I want to know how can I do this? ![]()