void Start() { if (isPlayer) { _character = GlobalCharacter.generetaChar(); _character.sprite = Random.Range(1, 4); } }
void Start() { GlobalCharacter.Init(); GlobalCharacter.player.timer = 0; ShowCharacter(); }
void Start() { GlobalCharacter.Init(); _boxChar = _charController.GetComponent <BoxCharController>(); _boxEnemy = _enemiesController.GetComponent <BoxEnemiesController>(); _boxAct = _boxController.GetComponent <BoxAction>(); _running = true; for (int i = 0; i < _buttons.Length; i++) { _buttons[i].GetComponent <ButtonAction>().character = GlobalCharacter.player; _buttons[i].GetComponent <ButtonAction>().fight = this; } HideText(); UpdateAttributes(); }
void Start() { GlobalItens.Init(); GlobalCharacter.Init(); GlobalWorldMap.Init(); GlobalQuests.Init(); GlobalMap.Init(); GlobalInput.Init(); _itens = new ArrayList(); _npcs = new ArrayList(); AddItemToMap(GlobalItens.generateAlchemy(AlchemyType.HealLife), new Vector3(64, 96, -5)); GameCharacter test = GlobalCharacter.generetaChar(); test.name = "ERRROR"; test.sprite = 5; AddCharacterToMap(test, new Vector3(32, 32, -10)); }
void Start() { GlobalCharacter.Init(); GlobalItens.Init(); }