public string OnButtonSaveAs() { myLevel = StoreSceneToLevel(); Debug.Log(myLevel.anyObjects.Length); myFileName = System.DateTime.UtcNow.ToString("s"); CS_AnyLevelSave.SaveFile(GetFileName(), myLevel); return(myFileName); }
public void OnButtonSave() { myLevel = StoreSceneToLevel(); Debug.Log(myLevel.anyObjects.Length); CS_AnyLevelSave.SaveFile(GetFileName(), myLevel); }