示例#1
0
文件: Home.cs 项目: fordream/Sunfish
        private void PopulateSpriteAnimationTestScreenViews()
        {
            BackgroundColor = Color.Black;

            Texture2D buttonTexture = LoadTexture ("Grid");
            Sprite button = new Sprite (buttonTexture, new Vector2(100));
            button.EnableTapGesture (CreateRandomExplosion);
            AddChildView (button);
        }