Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        lastDirection = "east";
        movingSpeed = 1;
        runningSpeed = 2;
        currentSpeed = movingSpeed;

        world = GameObject.Find("wrldctrl").GetComponent<worldgenerator>();
    }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        lastDirection = "east";
        movingSpeed   = 1;
        runningSpeed  = 2;
        currentSpeed  = movingSpeed;

        world = GameObject.Find("wrldctrl").GetComponent <worldgenerator>();
    }
Beispiel #3
0
 // Use this for initialization
 void Start()
 {
     world    = GameObject.Find("wrldctrl").GetComponent <worldgenerator>();
     inv      = GameObject.Find("wrldctrl").GetComponent <Inventory>();
     list     = GameObject.Find("wrldctrl").GetComponent <Itemlist>();
     bag      = new Inventory.bag();
     overlay  = GameObject.Find("wrldctrl").GetComponent <GUIoverlay>();
     progress = false;
     initInventory();
 }
Beispiel #4
0
 // Use this for initialization
 void Start()
 {
     world = GameObject.Find("wrldctrl").GetComponent<worldgenerator>();
     inv = GameObject.Find("wrldctrl").GetComponent<Inventory>();
     list = GameObject.Find("wrldctrl").GetComponent<Itemlist>();
     bag = new Inventory.bag();
     overlay = GameObject.Find("wrldctrl").GetComponent<GUIoverlay>();
     progress = false;
     initInventory();
 }