17 lines
399 B
C#
17 lines
399 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
public interface IDataPersistenceBase
|
|
{
|
|
|
|
}
|
|
|
|
public interface IDataPersistence<TData> : IDataPersistenceBase
|
|
{
|
|
void LoadData(TData data);
|
|
|
|
// The 'ref' keyword was removed from here as it is not needed.
|
|
// In C#, non-primitive types are automatically passed by reference.
|
|
void SaveData(TData data);
|
|
}
|