using UnityEngine; using Pink.UI; using Pink.Items; namespace Pink.Environment { /// /// The main model containing needed data to implement a platformer style /// game. This class should only contain data, and methods that operate /// on the data. It is initialised with data in the GameController class. /// [System.Serializable] public class EnvironmentModel { /// /// The virtual camera in the scene. /// public Cinemachine.CinemachineVirtualCamera virtualCamera; /// /// The main component which controls the player sprite, controlled /// by the user. /// public Pink.Mechanics.PinkController player; /// /// The spawn point in the scene. /// public Transform spawnPoint; /// /// The HUD controller for the scene. /// public HUDController hud; /// /// Item manager for collectibles in the scene. /// public ItemManager items; } }