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); }
public AudioAsset Clone() { var go = new AudioAsset(BaseFileName); return go; }