Exemplo n.º 1
0
    // Use this for initialization

    void Start()
    {
        Assets.Code.Options Opj = new Assets.Code.Options();
        Opj.readOptions();
        CanSnakeGoThroughWalls = Opj.ifSnakeCanGoThroughWalls;
        tog.isOn = CanSnakeGoThroughWalls;
    }
Exemplo n.º 2
0
 void Start()
 {
     //DontDestroyOnLoad(this);
     Opj = new Assets.Code.Options();
     Opj.readOptions();
     text.text = Opj.speed.ToString();
     sld.value = Opj.speed;
 }
Exemplo n.º 3
0
 void Start()
 {
     //GlobalSpeedSetter sm = GameObject.Find("SliderManager").GetComponent<GlobalSpeedSetter>();
     //if (sm != null)
     //    speed = (int) sm.speed;
     //else speed = 1;
     Opj = new Assets.Code.Options();
     Opj.readOptions();
     speed = Opj.speed;
 }
Exemplo n.º 4
0
 void Start()
 {
     Assets.Code.Options Opj = new Assets.Code.Options();
     Opj.readOptions();
     isGoingToCrashAgainstWall = Opj.ifSnakeCanGoThroughWalls;
 }