No-Code: Saveable Components
Saving & Loading through Saveable Component
3
Save Private Fields & Properties
Example #1
using cowsins.OmniSave.API;
public class Player : MonoBehaviour
{
[SaveableField]
private int health = 100;
}Example #2
using cowsins.OmniSave.API;
public class Player : MonoBehaviour
{
[SaveableField]
private int Health { get; set; } = 100;
}Tips & Considerations
Last updated


