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 PlayerData(float[] _playerStats, float[] _playerPosAndRot)
- {
- playerStats = _playerStats;
- playerPositionAndRotation = _playerPosAndRot;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement