コード例 #1
0
ファイル: Coin.cs プロジェクト: DavyCools/2DPlatformGame
 public Coin(ContentManager content, Vector2 _position, string name) : base(content, _position, name)
 {
     animation = new CoinAnimation()
     {
         scale = 0.1f
     };
     Position += new Vector2(21, 20);
 }
コード例 #2
0
ファイル: CoinAnimation.cs プロジェクト: voitseh/SlotMachine
 public void Awake()
 {
     Instance = this;
 }