public static void attachPlayer(ShiblitzPlayer p) { instance.player = p; instance.player.setPosition(new Vector2Int(1, 1)); instance.uiManager.setMaxStats(); instance.uiManager.reflectPlayerStats(); }
// Start is called before the first frame update void Start() { ShiblitzPlayer p = new ShiblitzPlayer(gameObject); Game.attachPlayer(p); }