Пример #1
0
 public override void Start()
 {
     base.Start();
     var baseSprite = (SpriteAsset)Engine.GetAsset("startHub_0_0");
     CurrentSprite = baseSprite;
     AudioAsset startLevel = new AudioAsset("StartMenu.ogg");
     AudioSource.Play(startLevel.Clip, true);
 }
Пример #2
0
 public AudioAsset Clone()
 {
     var go = new AudioAsset(BaseFileName);
     return go;
 }