//***********/ //* methods */ //***********/ // void Awake() // { // } void OnEnable() { #if UNITY_EDITOR if (BuildPipeline.isBuildingPlayer) { return; } #endif instance = this; LoadConfig(); SetupScreen(); ApplyPreset(); foreach (var capture in captures) { if (!capture) { continue; } capture.SetupCam(tiling.aspect, config.verticalAngle); } if (onQuiltSetup.GetPersistentEventCount() > 0) { onQuiltSetup.Invoke(); } }
//***********/ //* methods */ //***********/ // void Awake() // { // } void OnEnable() { instance = this; LoadConfig(); SetupScreen(); ApplyPreset(); foreach (var capture in captures) { if (!capture) continue; capture.SetupCam(tiling.aspect, config.verticalAngle); } if (onQuiltSetup.GetPersistentEventCount() > 0) onQuiltSetup.Invoke(); }
void OnEnable() { quilt = GetComponent <Quilt>(); }