Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [System.Serializable]
- public class PlayerData
- {
- public float[] playerStats; // [0] - Health, [1] - Calories, [2] - Hydration
- public float[] playerPositionAndRotation; // position x, y, z and rotation x, y, z
- public string[] inventoryContent;
- public string[] quickSlotsContent;
- public PlayerData(float[] _playerStats, float[] _playerPosAndRot, string[] _inventoryContent, string[] _quickSlotsContent)
- {
- playerStats = _playerStats;
- playerPositionAndRotation = _playerPosAndRot;
- inventoryContent = _inventoryContent;
- quickSlotsContent = _quickSlotsContent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement