Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections.Generic;
- using UnityEngine;
- [System.Serializable]
- public class EnvironmentData
- {
- public List<string> pickedupItems;
- public List<TreeData> treeData;
- public List<string> animals;
- public List<StorageData> storage;
- public EnvironmentData(List<string> _pickedupItems, List<TreeData> _treeData, List<string> _animals, List<StorageData> _storage)
- {
- pickedupItems = _pickedupItems;
- treeData = _treeData;
- animals = _animals;
- storage = _storage;
- }
- }
- [System.Serializable]
- public class StorageData
- {
- public List<string> items;
- public Vector3 position;
- public Vector3 rotation;
- }
- [System.Serializable]
- public class TreeData
- {
- public string name; // "Tree" or "Stump"
- public Vector3 position;
- public Vector3 rotation;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement