using System.Collections; using System.Collections.Generic; using UnityEngine; public class BakerySector : MonoBehaviour { public enum CaptureMode { None = -1, CaptureInPlace = 0, CaptureToAsset = 1, LoadCaptured = 2 } public CaptureMode captureMode = CaptureMode.CaptureInPlace; public string captureAssetName = ""; public BakerySectorCapture captureAsset; public bool allowUVPaddingAdjustment = false; public List tforms = new List(); public List cpoints = new List(); #if UNITY_EDITOR public List previewDisabledRenderers; public List previewTempObjects; public bool previewEnabled = false; #endif void OnDrawGizmosSelected() { Gizmos.color = Color.green; for(int i=0; i