1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2026-02-07 00:53:34 +00:00

Ajoutez des fichiers projet.

This commit is contained in:
Yan Maniez 2018-04-18 22:00:55 +02:00
parent 3c6a64d788
commit c0cc36fbef
116 changed files with 9638 additions and 0 deletions

View file

@ -0,0 +1,19 @@
Any raw assets you want to be deployed with your application can be placed in
this directory (and child directories) and given a Build Action of "AndroidAsset".
These files will be deployed with you package and will be accessible using Android's
AssetManager, like this:
public class ReadAsset : Activity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
InputStream input = Assets.Open ("my_asset.txt");
}
}
Additionally, some Android functions will automatically load asset files:
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");