void Start() { gm = GameMaster.current; pc = PlayerControllerScript.current; al = AttackListScript.current; InstantiateCharacterInfo(); }
private void Start() { // randomises tile pattern sr = GetComponent <SpriteRenderer>(); int randTile = Random.Range(0, tileGraphics.Length); sr.sprite = tileGraphics[randTile]; gm = GameMaster.current; pc = PlayerControllerScript.current; al = AttackListScript.current; }
private void Awake() { current = this; }