// Use this for initialization void Start() { lastDirection = "east"; movingSpeed = 1; runningSpeed = 2; currentSpeed = movingSpeed; world = GameObject.Find("wrldctrl").GetComponent<worldgenerator>(); }
// Use this for initialization void Start() { lastDirection = "east"; movingSpeed = 1; runningSpeed = 2; currentSpeed = movingSpeed; world = GameObject.Find("wrldctrl").GetComponent <worldgenerator>(); }
// 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(); }
// 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(); }