Сделал работу кнопок программы, начал делать настройки
This commit is contained in:
1 parent
9e7457b818
commit
a3cccd5530
30 files changed
+15837
-17296
No files matched your search
+11
-1
@@ -68,6 +68,7 @@
|
|||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\XRKnob.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\XRKnob.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\BooleanToggleVisualsController.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\BooleanToggleVisualsController.cs" />
|
||||||
<Compile Include="Assets\GogoGaga\OptimizedRopesAndCables\Script\RopeMesh.cs" />
|
<Compile Include="Assets\GogoGaga\OptimizedRopesAndCables\Script\RopeMesh.cs" />
|
||||||
|
<Compile Include="Assets\Scripts\LogsListScript.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\RayAttachModifier.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\RayAttachModifier.cs" />
|
||||||
<Compile Include="Assets\vr-project-main\UI\Scripts\Button.cs" />
|
<Compile Include="Assets\vr-project-main\UI\Scripts\Button.cs" />
|
||||||
<Compile Include="Assets\Scripts\MaterialRopeDetachAction.cs" />
|
<Compile Include="Assets\Scripts\MaterialRopeDetachAction.cs" />
|
||||||
@@ -77,10 +78,12 @@
|
|||||||
<Compile Include="Assets\Scripts\SocketInteractorFilterReel.cs" />
|
<Compile Include="Assets\Scripts\SocketInteractorFilterReel.cs" />
|
||||||
<Compile Include="Assets\Scripts\SocketInteractorFilterRope.cs" />
|
<Compile Include="Assets\Scripts\SocketInteractorFilterRope.cs" />
|
||||||
<Compile Include="Assets\vr-project-main\UI\Scripts\Windows\AddresActiveWindow.cs" />
|
<Compile Include="Assets\vr-project-main\UI\Scripts\Windows\AddresActiveWindow.cs" />
|
||||||
|
<Compile Include="Assets\Scripts\UIListElement.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\BezierCurve.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\BezierCurve.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\LaunchProjectile.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\LaunchProjectile.cs" />
|
||||||
<Compile Include="Assets\Scripts\MovingBelt.cs" />
|
<Compile Include="Assets\Scripts\MovingBelt.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\HandSubsystemManager.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\HandSubsystemManager.cs" />
|
||||||
|
<Compile Include="Assets\Scripts\ControlButtonsScript.cs" />
|
||||||
<Compile Include="Assets\GogoGaga\OptimizedRopesAndCables\Script\RopeWindEffect.cs" />
|
<Compile Include="Assets\GogoGaga\OptimizedRopesAndCables\Script\RopeWindEffect.cs" />
|
||||||
<Compile Include="Assets\Scripts\BoardScript.cs" />
|
<Compile Include="Assets\Scripts\BoardScript.cs" />
|
||||||
<Compile Include="Assets\Scripts\MachineCoordinatesMovementScript.cs" />
|
<Compile Include="Assets\Scripts\MachineCoordinatesMovementScript.cs" />
|
||||||
@@ -94,7 +97,6 @@
|
|||||||
<Compile Include="Assets\vr-project-main\UI\Scripts\ParentMaterialChanger.cs" />
|
<Compile Include="Assets\vr-project-main\UI\Scripts\ParentMaterialChanger.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\CalloutGazeController.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\CalloutGazeController.cs" />
|
||||||
<Compile Include="Assets\GogoGaga\OptimizedRopesAndCables\Script\Rope.cs" />
|
<Compile Include="Assets\GogoGaga\OptimizedRopesAndCables\Script\Rope.cs" />
|
||||||
<Compile Include="Assets\Scripts\PositionListElement.cs" />
|
|
||||||
<Compile Include="Assets\Scripts\PlateProgramCreator.cs" />
|
<Compile Include="Assets\Scripts\PlateProgramCreator.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\StepManager.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\StepManager.cs" />
|
||||||
<Compile Include="Assets\VRTemplateAssets\Scripts\AnchorVisuals.cs" />
|
<Compile Include="Assets\VRTemplateAssets\Scripts\AnchorVisuals.cs" />
|
||||||
@@ -1137,6 +1139,10 @@
|
|||||||
<HintPath>Library\ScriptAssemblies\Unity.XR.CoreUtils.Editor.dll</HintPath>
|
<HintPath>Library\ScriptAssemblies\Unity.XR.CoreUtils.Editor.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Unity.2D.Sprite.Editor">
|
||||||
|
<HintPath>Library\ScriptAssemblies\Unity.2D.Sprite.Editor.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Unity.TextMeshPro">
|
<Reference Include="Unity.TextMeshPro">
|
||||||
<HintPath>Library\ScriptAssemblies\Unity.TextMeshPro.dll</HintPath>
|
<HintPath>Library\ScriptAssemblies\Unity.TextMeshPro.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
@@ -1433,6 +1439,10 @@
|
|||||||
<HintPath>Library\ScriptAssemblies\Unity.Settings.Editor.dll</HintPath>
|
<HintPath>Library\ScriptAssemblies\Unity.Settings.Editor.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Unity.2D.Sprite.AIIntegration.Editor">
|
||||||
|
<HintPath>Library\ScriptAssemblies\Unity.2D.Sprite.AIIntegration.Editor.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="UnityEditor.UI">
|
<Reference Include="UnityEditor.UI">
|
||||||
<HintPath>Library\ScriptAssemblies\UnityEditor.UI.dll</HintPath>
|
<HintPath>Library\ScriptAssemblies\UnityEditor.UI.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
|
|||||||
+14639
-11949
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,75 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class ControlButtonsScript : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private List<string> buttonTitle = new List<string>();
|
||||||
|
[SerializeField] private List<UnityEngine.UI.Button> buttonObject = new List<UnityEngine.UI.Button>();
|
||||||
|
public Dictionary<string, UnityEngine.UI.Button> buttonsDictionary { get; private set; }
|
||||||
|
|
||||||
|
List<string> activeButtons = new List<string>();
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
BuildDictionary();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BuildDictionary()
|
||||||
|
{
|
||||||
|
buttonsDictionary = new Dictionary<string, UnityEngine.UI.Button>();
|
||||||
|
for (int i = 0; i < buttonTitle.Count && i < buttonObject.Count; i++)
|
||||||
|
{
|
||||||
|
buttonsDictionary[buttonTitle[i]] = buttonObject[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
//Debug.Log(buttonsDictionary.Count);
|
||||||
|
disableButtons();
|
||||||
|
|
||||||
|
buttonsDictionary["Run"].interactable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void disableButtons()
|
||||||
|
{
|
||||||
|
foreach (var button in buttonsDictionary.Values)
|
||||||
|
{
|
||||||
|
button.interactable = false;
|
||||||
|
}
|
||||||
|
activeButtons.Clear();
|
||||||
|
}
|
||||||
|
public void SetActiveButtons(List<string> buttonsToActivate)
|
||||||
|
{
|
||||||
|
if (activeButtons.SequenceEqual(buttonsToActivate)) return;
|
||||||
|
|
||||||
|
disableButtons();
|
||||||
|
foreach (var button in buttonsToActivate)
|
||||||
|
{
|
||||||
|
buttonsDictionary[button].interactable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
activeButtons = buttonsToActivate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RunButtonAction()
|
||||||
|
{
|
||||||
|
disableButtons();
|
||||||
|
buttonsDictionary["Pause"].interactable = true;
|
||||||
|
buttonsDictionary["Stop"].interactable = true;
|
||||||
|
}
|
||||||
|
public void PauseButtonAction()
|
||||||
|
{
|
||||||
|
disableButtons();
|
||||||
|
buttonsDictionary["Run"].interactable = true;
|
||||||
|
buttonsDictionary["Stop"].interactable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7cc8690c09bc8744f83cb1b81187fa02
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class LogsListScript : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField]
|
||||||
|
UIListElement _ElementTemplate;
|
||||||
|
|
||||||
|
private int _lastLogIndex = -1;
|
||||||
|
private UIListElement createNewElementObject(float y_pos)
|
||||||
|
{
|
||||||
|
GameObject newObject = Instantiate(_ElementTemplate.gameObject, _ElementTemplate.transform.parent);
|
||||||
|
newObject.GetComponent<RectTransform>().localPosition = new(0, y_pos, 0);
|
||||||
|
|
||||||
|
newObject.SetActive(true);
|
||||||
|
return newObject.GetComponent<UIListElement>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
MachineCoordinatesMovementScript.OnError.AddListener(addLogLine);
|
||||||
|
|
||||||
|
//UIListElement newElement;
|
||||||
|
|
||||||
|
//for (int i = 0; i < 3; i++)
|
||||||
|
//{
|
||||||
|
// _lastLogIndex++;
|
||||||
|
// newElement = createNewElementObject(-1f * i * _ElementTemplate.GetComponent<RectTransform>().rect.height);
|
||||||
|
// newElement.SetProperty("Text", "Test " + i);
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void addLogLine(string text)
|
||||||
|
{
|
||||||
|
_lastLogIndex++;
|
||||||
|
UIListElement newElement = createNewElementObject(-1f * _lastLogIndex * _ElementTemplate.GetComponent<RectTransform>().rect.height);
|
||||||
|
newElement.SetProperty("Text", text);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 46dc8d26e06bd5a439e548d7a75c9bc2
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
using Palmmedia.ReportGenerator.Core;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Events;
|
using UnityEngine.Events;
|
||||||
using UnityEngine.Rendering;
|
using System.Linq;
|
||||||
|
|
||||||
public class MachineCoordinatesMovementScript : MonoBehaviour
|
public class MachineCoordinatesMovementScript : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -21,7 +19,10 @@ public class MachineCoordinatesMovementScript : MonoBehaviour
|
|||||||
[Tooltip("ZAxis Transform")]
|
[Tooltip("ZAxis Transform")]
|
||||||
Transform ZAxis;
|
Transform ZAxis;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
|
ControlButtonsScript ActionButtonsController;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
Vector3 CurrentCords;
|
Vector3 CurrentCords;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
@@ -43,18 +44,22 @@ public class MachineCoordinatesMovementScript : MonoBehaviour
|
|||||||
bool DebugStart = false;
|
bool DebugStart = false;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
bool Restart = false;
|
bool RestartFlag = false;
|
||||||
|
|
||||||
// Ôëàã ðàáîòû, ïî íåìó ïðîâåðÿåòñÿ, âûïîëíÿåòñÿ ëè ñåé÷àñ êàêàÿ-ëèáî ïðîãðàììà
|
// Ôëàã ðàáîòû, ïî íåìó ïðîâåðÿåòñÿ, âûïîëíÿåòñÿ ëè ñåé÷àñ êàêàÿ-ëèáî ïðîãðàììà
|
||||||
bool WorkInProgress = false;
|
bool WorkInProgress = false;
|
||||||
|
bool PauseFlag = false;
|
||||||
|
bool ErrorFlag = false;
|
||||||
|
int StepToPause = -1;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
List<bool> InsertedMaterials;
|
List<bool> InsertedMaterials;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
List<bool> InsertedReels;
|
List<bool> InsertedReels;
|
||||||
|
|
||||||
bool ReadyToWork = false;
|
[SerializeField]
|
||||||
|
bool ReadyToWork = false;
|
||||||
|
|
||||||
bool ReelsReady = false;
|
bool ReelsReady = false;
|
||||||
|
|
||||||
@@ -69,15 +74,16 @@ public class MachineCoordinatesMovementScript : MonoBehaviour
|
|||||||
|
|
||||||
// Íîìåð îáúåêòà â CurrentProgram, ê êîòîðîìó äâèãàòüñÿ
|
// Íîìåð îáúåêòà â CurrentProgram, ê êîòîðîìó äâèãàòüñÿ
|
||||||
static public int CurrentStep = 0 ;
|
static public int CurrentStep = 0 ;
|
||||||
|
|
||||||
static public List<Vector3> CurrentProgram { get; private set; }
|
static public List<Vector3> CurrentProgram { get; private set; }
|
||||||
static public List<Vector3> ComponentsHoldersCords { get; private set; }
|
static public List<Vector3> ComponentsHoldersCords { get; private set; }
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class MachineStepEvent : UnityEvent<int> { }
|
public class MachineStepEvent : UnityEvent<int> { }
|
||||||
|
public class MachineErrorEvent : UnityEvent<string> { }
|
||||||
|
|
||||||
[Tooltip("Event called when step updated")]
|
public static MachineStepEvent OnStep = new();
|
||||||
public static MachineStepEvent OnStep = new MachineStepEvent();
|
|
||||||
|
public static MachineErrorEvent OnError = new();
|
||||||
|
|
||||||
// Ãðàíèöû ïî êîîðäèíàòàì: (0.435, 0.02, 0.4125)
|
// Ãðàíèöû ïî êîîðäèíàòàì: (0.435, 0.02, 0.4125)
|
||||||
|
|
||||||
@@ -106,29 +112,24 @@ public class MachineCoordinatesMovementScript : MonoBehaviour
|
|||||||
StartWork(PalmTreeProg);
|
StartWork(PalmTreeProg);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TestProgramStart == true)
|
|
||||||
{
|
|
||||||
TestProgramStart = false;
|
|
||||||
|
|
||||||
if (ReadyToWork)
|
setActiveActionButtons();
|
||||||
{
|
|
||||||
StartWork(PalmTreeProg);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log(InsertedMaterials);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Restart == true)
|
|
||||||
|
if (RestartFlag == true)
|
||||||
{
|
{
|
||||||
if (MoveTo(Vector3.zero))
|
if (MoveTo(Vector3.zero))
|
||||||
{
|
{
|
||||||
Restart = false;
|
RestartFlag = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (WorkInProgress == true)
|
else if (WorkInProgress == true)
|
||||||
{
|
{
|
||||||
|
if (PauseFlag)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(CurrentStep <= CurrentProgram.Count - 1)
|
if(CurrentStep <= CurrentProgram.Count - 1)
|
||||||
{
|
{
|
||||||
if (MoveTo(CurrentProgram[CurrentStep]))
|
if (MoveTo(CurrentProgram[CurrentStep]))
|
||||||
@@ -143,22 +144,60 @@ public class MachineCoordinatesMovementScript : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(StepToPause != -1 && StepToPause == CurrentStep)
|
||||||
|
{
|
||||||
|
PauseFlag = true;
|
||||||
|
StepToPause = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WorkInProgress = false;
|
resetFlags();
|
||||||
Restart = true;
|
RestartFlag = true;
|
||||||
Board.GetComponent<BoardScript>().ComponentsPlaced();
|
Board.GetComponent<BoardScript>().ComponentsPlaced();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setActiveActionButtons()
|
||||||
|
{
|
||||||
|
List<string> buttonsToActivate = new List<string>();
|
||||||
|
|
||||||
|
if (WorkInProgress)
|
||||||
|
{
|
||||||
|
buttonsToActivate.Add("Stop");
|
||||||
|
|
||||||
|
if (PauseFlag)
|
||||||
|
{
|
||||||
|
buttonsToActivate.Add("Run");
|
||||||
|
buttonsToActivate.Add("Step");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
buttonsToActivate.Add("Pause");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (ErrorFlag)
|
||||||
|
{
|
||||||
|
buttonsToActivate.Add("Reset");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
buttonsToActivate.Add("Run");
|
||||||
|
buttonsToActivate.Add("Step");
|
||||||
|
}
|
||||||
|
|
||||||
|
ActionButtonsController.SetActiveButtons(buttonsToActivate);
|
||||||
|
}
|
||||||
|
|
||||||
// Ôóíêöèÿ íà÷àëà ðàáîòû, ïðèíèìàåò ïðîãðàììó äëÿ ðàáîòû
|
// Ôóíêöèÿ íà÷àëà ðàáîòû, ïðèíèìàåò ïðîãðàììó äëÿ ðàáîòû
|
||||||
public void StartWork(List<Vector3> program)
|
public void StartWork(List<Vector3> program)
|
||||||
{
|
{
|
||||||
WorkInProgress = true;
|
WorkInProgress = true;
|
||||||
Restart = true;
|
RestartFlag = true;
|
||||||
CurrentProgram = new(program);
|
|
||||||
|
CurrentProgram = new(program);
|
||||||
CurrentStep = 0;
|
CurrentStep = 0;
|
||||||
OnStep?.Invoke(CurrentStep);
|
OnStep?.Invoke(CurrentStep);
|
||||||
}
|
}
|
||||||
@@ -286,12 +325,83 @@ public class MachineCoordinatesMovementScript : MonoBehaviour
|
|||||||
|
|
||||||
public void StartWorkFromButton()
|
public void StartWorkFromButton()
|
||||||
{
|
{
|
||||||
if (!WorkInProgress)
|
if (!WorkInProgress)
|
||||||
{
|
{
|
||||||
TestProgramStart = true;
|
if (ReadyToWork)
|
||||||
|
{
|
||||||
|
StartWork(PalmTreeProg);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OnError?.Invoke(DateTime.Now + " Error: " + "Materials not inserted: " + InsertedMaterials.Count(b => b) + " / 3.");
|
||||||
|
//Debug.Log(InsertedMaterials);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (PauseFlag)
|
||||||
|
{
|
||||||
|
StepToPause = -1;
|
||||||
|
PauseFlag = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void PauseWorkFromButton()
|
||||||
|
{
|
||||||
|
if (WorkInProgress)
|
||||||
|
{
|
||||||
|
PauseFlag = !PauseFlag;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void StopWorkFromButton()
|
||||||
|
{
|
||||||
|
resetFlags();
|
||||||
|
ErrorFlag = true;
|
||||||
|
|
||||||
|
OnError?.Invoke(DateTime.Now + " Error: " + "Stopped from button.");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ResetFromButton()
|
||||||
|
{
|
||||||
|
OnError?.Invoke("To start work again press Run, to continue press Step.");
|
||||||
|
|
||||||
|
resetFlags();
|
||||||
|
RestartFlag = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void StepFromButton()
|
||||||
|
{
|
||||||
|
if (!WorkInProgress)
|
||||||
|
{
|
||||||
|
if (CurrentStep != 0) WorkInProgress = true; // Для продолжения работы после остановки
|
||||||
|
|
||||||
|
else if (ReadyToWork)
|
||||||
|
{
|
||||||
|
StartWork(PalmTreeProg);
|
||||||
|
|
||||||
|
StepToPause = CurrentStep + 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OnError?.Invoke(DateTime.Now + " Error: " + "Materials not inserted: " + InsertedMaterials.Count(b => b) + " / 3.");
|
||||||
|
//Debug.Log(InsertedMaterials);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (PauseFlag)
|
||||||
|
{
|
||||||
|
StepToPause = CurrentStep + 1;
|
||||||
|
|
||||||
|
PauseFlag = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void resetFlags()
|
||||||
|
{
|
||||||
|
WorkInProgress = false;
|
||||||
|
ErrorFlag = false;
|
||||||
|
PauseFlag = false;
|
||||||
|
RestartFlag = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
@@ -8,10 +8,10 @@ using UnityEngine.UI;
|
|||||||
public class PositionListScript : MonoBehaviour
|
public class PositionListScript : MonoBehaviour
|
||||||
{
|
{
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
PositionListElement _positionListElementTemplate;
|
UIListElement _ElementTemplate;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
List<PositionListElement> _positionsList = new();
|
List<UIListElement> _positionsList = new();
|
||||||
|
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
@@ -29,11 +29,11 @@ public class PositionListScript : MonoBehaviour
|
|||||||
|
|
||||||
private void fillList()
|
private void fillList()
|
||||||
{
|
{
|
||||||
PositionListElement newElement;
|
UIListElement newElement;
|
||||||
|
|
||||||
for (int i = 1; i < MachineCoordinatesMovementScript.CurrentProgram.Count; i += 2)
|
for (int i = 1; i < MachineCoordinatesMovementScript.CurrentProgram.Count; i += 2)
|
||||||
{
|
{
|
||||||
newElement = createNewElementObject(-1f * (i - 1) * _positionListElementTemplate.GetComponent<RectTransform>().rect.height / 2);
|
newElement = createNewElementObject(-1f * (i - 1) * _ElementTemplate.GetComponent<RectTransform>().rect.height / 2);
|
||||||
|
|
||||||
_positionsList.Add(newElement);
|
_positionsList.Add(newElement);
|
||||||
|
|
||||||
@@ -47,19 +47,23 @@ public class PositionListScript : MonoBehaviour
|
|||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
newElement.SetProperty("Name", "R6");
|
newElement.SetProperty("Name", "R6");
|
||||||
break;
|
newElement.SetProperty("A", "0");
|
||||||
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
newElement.SetProperty("Name", "C2");
|
newElement.SetProperty("Name", "C2");
|
||||||
break;
|
newElement.SetProperty("A", "90");
|
||||||
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
newElement.SetProperty("Name", "C1");
|
newElement.SetProperty("Name", "C1");
|
||||||
break;
|
newElement.SetProperty("A", "90");
|
||||||
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
newElement.SetProperty("Name", "LED3");
|
newElement.SetProperty("Name", "LED3");
|
||||||
break;
|
newElement.SetProperty("A", "0");
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
@@ -68,26 +72,32 @@ public class PositionListScript : MonoBehaviour
|
|||||||
newElement.SetProperty("X", MachineCoordinatesMovementScript.CurrentProgram[i].x.ToString());
|
newElement.SetProperty("X", MachineCoordinatesMovementScript.CurrentProgram[i].x.ToString());
|
||||||
newElement.SetProperty("Y", MachineCoordinatesMovementScript.CurrentProgram[i].y.ToString());
|
newElement.SetProperty("Y", MachineCoordinatesMovementScript.CurrentProgram[i].y.ToString());
|
||||||
newElement.SetProperty("Z", MachineCoordinatesMovementScript.CurrentProgram[i].z.ToString());
|
newElement.SetProperty("Z", MachineCoordinatesMovementScript.CurrentProgram[i].z.ToString());
|
||||||
newElement.SetProperty("A", "1");
|
|
||||||
newElement.SetProperty("Val", "1");
|
newElement.SetProperty("Val", "1");
|
||||||
newElement.SetProperty("Feeder", "B");
|
newElement.SetProperty("Feeder", "B");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private PositionListElement createNewElementObject(float y_pos)
|
private UIListElement createNewElementObject(float y_pos)
|
||||||
{
|
{
|
||||||
GameObject newObject = Instantiate(_positionListElementTemplate.gameObject, _positionListElementTemplate.transform.parent);
|
GameObject newObject = Instantiate(_ElementTemplate.gameObject, _ElementTemplate.transform.parent);
|
||||||
newObject.GetComponent<RectTransform>().localPosition = new(0, y_pos, 0);
|
newObject.GetComponent<RectTransform>().localPosition = new(0, y_pos, 0);
|
||||||
|
|
||||||
newObject.SetActive(true);
|
newObject.SetActive(true);
|
||||||
return newObject.GetComponent<PositionListElement>();
|
return newObject.GetComponent<UIListElement>();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnStepUpdate(int step)
|
private void OnStepUpdate(int step)
|
||||||
{
|
{
|
||||||
|
if (step == 0)
|
||||||
|
{
|
||||||
|
foreach (UIListElement element in _positionsList) { // Сброс на случай, если начата работа заново после остановки
|
||||||
|
element.SetProperty("State", "");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (step % 2 == 0)
|
if (step % 2 == 0)
|
||||||
{
|
{
|
||||||
PositionListElement currentElement = _positionsList[step / 2];
|
UIListElement currentElement = _positionsList[step / 2];
|
||||||
|
|
||||||
currentElement.SetProperty("State", "Work");
|
currentElement.SetProperty("State", "Work");
|
||||||
|
|
||||||
@@ -95,7 +105,7 @@ public class PositionListScript : MonoBehaviour
|
|||||||
|
|
||||||
if (step == 0) return;
|
if (step == 0) return;
|
||||||
|
|
||||||
PositionListElement prevElement = _positionsList[(step / 2) - 1];
|
UIListElement prevElement = _positionsList[(step / 2) - 1];
|
||||||
|
|
||||||
prevElement.SetProperty("State", "Ok");
|
prevElement.SetProperty("State", "Ok");
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using TMPro;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class PositionListElement : MonoBehaviour
|
public class UIListElement : MonoBehaviour
|
||||||
{
|
{
|
||||||
[SerializeField] private List<string> propertyTitle = new List<string>();
|
[SerializeField] private List<string> propertyTitle = new List<string>();
|
||||||
[SerializeField] private List<TextMeshProUGUI> propertyTextObject = new List<TextMeshProUGUI>();
|
[SerializeField] private List<TextMeshProUGUI> propertyTextObject = new List<TextMeshProUGUI>();
|
||||||
File renamed without changes.
@@ -123,8 +123,8 @@ MonoBehaviour:
|
|||||||
m_PrefilterDBufferMRT1: 1
|
m_PrefilterDBufferMRT1: 1
|
||||||
m_PrefilterDBufferMRT2: 1
|
m_PrefilterDBufferMRT2: 1
|
||||||
m_PrefilterDBufferMRT3: 1
|
m_PrefilterDBufferMRT3: 1
|
||||||
m_PrefilterSoftShadowsQualityLow: 0
|
m_PrefilterSoftShadowsQualityLow: 1
|
||||||
m_PrefilterSoftShadowsQualityMedium: 1
|
m_PrefilterSoftShadowsQualityMedium: 0
|
||||||
m_PrefilterSoftShadowsQualityHigh: 1
|
m_PrefilterSoftShadowsQualityHigh: 1
|
||||||
m_PrefilterSoftShadows: 1
|
m_PrefilterSoftShadows: 1
|
||||||
m_PrefilterScreenCoord: 1
|
m_PrefilterScreenCoord: 1
|
||||||
|
|||||||
@@ -123,8 +123,8 @@ MonoBehaviour:
|
|||||||
m_PrefilterDBufferMRT1: 1
|
m_PrefilterDBufferMRT1: 1
|
||||||
m_PrefilterDBufferMRT2: 1
|
m_PrefilterDBufferMRT2: 1
|
||||||
m_PrefilterDBufferMRT3: 1
|
m_PrefilterDBufferMRT3: 1
|
||||||
m_PrefilterSoftShadowsQualityLow: 0
|
m_PrefilterSoftShadowsQualityLow: 1
|
||||||
m_PrefilterSoftShadowsQualityMedium: 1
|
m_PrefilterSoftShadowsQualityMedium: 0
|
||||||
m_PrefilterSoftShadowsQualityHigh: 1
|
m_PrefilterSoftShadowsQualityHigh: 1
|
||||||
m_PrefilterSoftShadows: 1
|
m_PrefilterSoftShadows: 1
|
||||||
m_PrefilterScreenCoord: 1
|
m_PrefilterScreenCoord: 1
|
||||||
|
|||||||
@@ -118,6 +118,8 @@ MonoBehaviour:
|
|||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: 61c3552c05bd1b842a62ef7c70a99944, type: 3}
|
- dependency: {fileID: 2800000, guid: 61c3552c05bd1b842a62ef7c70a99944, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
|
- dependency: {fileID: 2800000, guid: af7c8148ff1b1144a9bea6fac8062648, type: 3}
|
||||||
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 8300000, guid: d14b106713a74b448bcab90869f1706e, type: 3}
|
- dependency: {fileID: 8300000, guid: d14b106713a74b448bcab90869f1706e, type: 3}
|
||||||
instantiationMode: 1
|
instantiationMode: 1
|
||||||
- dependency: {fileID: 2800000, guid: 12470606f634b4e4591cfd61c094e13d, type: 3}
|
- dependency: {fileID: 2800000, guid: 12470606f634b4e4591cfd61c094e13d, type: 3}
|
||||||
@@ -192,6 +194,8 @@ MonoBehaviour:
|
|||||||
instantiationMode: 1
|
instantiationMode: 1
|
||||||
- dependency: {fileID: 919132149155446097, guid: 5833e680dc0f7ae47aec6b4286570484, type: 3}
|
- dependency: {fileID: 919132149155446097, guid: 5833e680dc0f7ae47aec6b4286570484, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
|
- dependency: {fileID: 2800000, guid: af1462075edab304b9fc0d5a9aaaf1a3, type: 3}
|
||||||
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: 88deb0c127a32624a8a38c92c28801a8, type: 3}
|
- dependency: {fileID: 2800000, guid: 88deb0c127a32624a8a38c92c28801a8, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 919132149155446097, guid: 27b7629e54b332449bfa3a4065ffe17a, type: 3}
|
- dependency: {fileID: 919132149155446097, guid: 27b7629e54b332449bfa3a4065ffe17a, type: 3}
|
||||||
@@ -250,6 +254,8 @@ MonoBehaviour:
|
|||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 919132149155446097, guid: e37036e75f6b9ca4fa60afe503e9ad87, type: 3}
|
- dependency: {fileID: 919132149155446097, guid: e37036e75f6b9ca4fa60afe503e9ad87, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
|
- dependency: {fileID: 2800000, guid: 89c4d70ec8a71624f9f1ea880312974b, type: 3}
|
||||||
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: 69b8e0af371c6974b9abde5f4b44e705, type: 3}
|
- dependency: {fileID: 2800000, guid: 69b8e0af371c6974b9abde5f4b44e705, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: 65d31ca9600c4654e886aa7bab36e94b, type: 3}
|
- dependency: {fileID: 2800000, guid: 65d31ca9600c4654e886aa7bab36e94b, type: 3}
|
||||||
@@ -298,8 +304,6 @@ MonoBehaviour:
|
|||||||
instantiationMode: 1
|
instantiationMode: 1
|
||||||
- dependency: {fileID: 2800000, guid: 1b208c9c64896bb41804f87a20a84fad, type: 3}
|
- dependency: {fileID: 2800000, guid: 1b208c9c64896bb41804f87a20a84fad, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: 62f8ba4773678164a9ffa9c26d3bcbc7, type: 3}
|
|
||||||
instantiationMode: 0
|
|
||||||
- dependency: {fileID: 2800000, guid: 54baed6400621ff4b8670b6116af054e, type: 3}
|
- dependency: {fileID: 2800000, guid: 54baed6400621ff4b8670b6116af054e, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2100000, guid: f50e64d854d6b2e4f8752f6023a98e1a, type: 2}
|
- dependency: {fileID: 2100000, guid: f50e64d854d6b2e4f8752f6023a98e1a, type: 2}
|
||||||
@@ -436,8 +440,6 @@ MonoBehaviour:
|
|||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 4677460305500781396, guid: 753505d367f39d04c8ef944e9491a149, type: 3}
|
- dependency: {fileID: 4677460305500781396, guid: 753505d367f39d04c8ef944e9491a149, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: e310668a082e1a346bdd0989125f1628, type: 3}
|
|
||||||
instantiationMode: 0
|
|
||||||
- dependency: {fileID: 2800000, guid: 2377caae6205fb74f8c4994b7ec27bdc, type: 3}
|
- dependency: {fileID: 2800000, guid: 2377caae6205fb74f8c4994b7ec27bdc, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2799420202504037274, guid: e912fbd5396dace4dbdffbc8b79a6c14, type: 3}
|
- dependency: {fileID: 2799420202504037274, guid: e912fbd5396dace4dbdffbc8b79a6c14, type: 3}
|
||||||
@@ -580,6 +582,8 @@ MonoBehaviour:
|
|||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: a8efa23c6f03b7d449b0cf4aa8e6a06d, type: 3}
|
- dependency: {fileID: 2800000, guid: a8efa23c6f03b7d449b0cf4aa8e6a06d, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
|
- dependency: {fileID: 2800000, guid: 97da62f377b36a34f88f3c6e4bd3cdd4, type: 3}
|
||||||
|
instantiationMode: 0
|
||||||
- dependency: {fileID: 2800000, guid: 07db990f69cc6ed4cb571fc1cb2ca507, type: 3}
|
- dependency: {fileID: 2800000, guid: 07db990f69cc6ed4cb571fc1cb2ca507, type: 3}
|
||||||
instantiationMode: 0
|
instantiationMode: 0
|
||||||
templatePipeline: {fileID: 0}
|
templatePipeline: {fileID: 0}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.0 MiB |
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,173 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &-7746906214137627923
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
|
||||||
|
version: 10
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: New Material
|
||||||
|
m_Shader: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- GEOM_TYPE_LEAF
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _WINDQUALITY_FASTEST
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 660e1ba2a5102f54487ec248f2c4b420, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 660e1ba2a5102f54487ec248f2c4b420, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ExtraTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 1ab4646a4e9660244823c3922a8cb2ab, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _NormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _SubsurfaceTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 660e1ba2a5102f54487ec248f2c4b420, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _BillboardKwToggle: 0
|
||||||
|
- _BillboardShadowFade: 0.5
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _Cull: 0
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _DstBlendAlpha: 0
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _GlossMapScale: 0
|
||||||
|
- _Glossiness: 0
|
||||||
|
- _GlossyReflections: 0
|
||||||
|
- _HueVariationKwToggle: 0
|
||||||
|
- _LeafFacingKwToggle: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _NormalMapKwToggle: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.005
|
||||||
|
- _QueueOffset: 0
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Smoothness: 0.5
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _SubsurfaceIndirect: 0.25
|
||||||
|
- _SubsurfaceKwToggle: 0
|
||||||
|
- _Surface: 0
|
||||||
|
- _TwoSided: 2
|
||||||
|
- _WIND_BRANCH1: 0
|
||||||
|
- _WIND_BRANCH2: 0
|
||||||
|
- _WIND_RIPPLE: 0
|
||||||
|
- _WIND_SHARED: 0
|
||||||
|
- _WIND_SHIMMER: 0
|
||||||
|
- _WindQuality: 1
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _XRMotionVectorsPass: 1
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _ColorTint: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1}
|
||||||
|
- _HueVariationColor: {r: 1, g: 0.5, b: 0, a: 0.1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
- _SubsurfaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _col: {r: 0, g: 1, b: 1, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b44c0563f3e39f64aab78e04bbe1628d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.0 MiB |
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 660e1ba2a5102f54487ec248f2c4b420
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 0
|
||||||
|
wrapV: 0
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 0
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 0
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 14 MiB |
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1ab4646a4e9660244823c3922a8cb2ab
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 0
|
||||||
|
wrapV: 0
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 0
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 0
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: skybox01_openGL 1
|
||||||
|
m_Shader: {fileID: 108, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BackTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 1ab4646a4e9660244823c3922a8cb2ab, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DownTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _FrontTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _LeftTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 1ab4646a4e9660244823c3922a8cb2ab, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _RightTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Tex:
|
||||||
|
m_Texture: {fileID: 8900000, guid: 08ea713d0e79d8e4aa41c53a0bad3fa5, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _UpTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _Exponent1: 1
|
||||||
|
- _Exponent2: 1
|
||||||
|
- _Exposure: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Intensity: 1
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Rotation: 0
|
||||||
|
m_Colors:
|
||||||
|
- _Color1: {r: 1, g: 1, b: 1, a: 0}
|
||||||
|
- _Color2: {r: 0.4528302, g: 0.13883945, b: 0.13883945, a: 0}
|
||||||
|
- _Color3: {r: 1, g: 1, b: 1, a: 0}
|
||||||
|
- _Tint: {r: 0.735849, g: 0.735849, b: 0.735849, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7b5f3394022565e4db529903a713685d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -145,6 +145,19 @@ TextureImporter:
|
|||||||
ignorePlatformSupport: 0
|
ignorePlatformSupport: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
spriteSheet:
|
spriteSheet:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
sprites: []
|
sprites: []
|
||||||
@@ -159,6 +172,8 @@ TextureImporter:
|
|||||||
edges: []
|
edges: []
|
||||||
weights: []
|
weights: []
|
||||||
secondaryTextures: []
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
nameFileIdTable: {}
|
nameFileIdTable: {}
|
||||||
mipmapLimitGroupName:
|
mipmapLimitGroupName:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,166 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 97da62f377b36a34f88f3c6e4bd3cdd4
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 2
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites:
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: SpeedConfClean_0
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 421
|
||||||
|
height: 286
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0, y: 0}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
customData:
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: 0
|
||||||
|
bones: []
|
||||||
|
spriteID: 681c283361c3b604696502f0a6d38270
|
||||||
|
internalID: -887799812
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 8a8778408ff739c42a3637cab1bb4bbe
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable:
|
||||||
|
SpeedConfClean_0: -887799812
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: af7c8148ff1b1144a9bea6fac8062648
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 0
|
||||||
|
wrapV: 0
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 0
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 0
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"com.unity.2d.sprite": "1.0.0",
|
||||||
"com.unity.collab-proxy": "2.9.3",
|
"com.unity.collab-proxy": "2.9.3",
|
||||||
"com.unity.feature.development": "1.0.2",
|
"com.unity.feature.development": "1.0.2",
|
||||||
"com.unity.formats.fbx": "5.1.4",
|
"com.unity.formats.fbx": "5.1.4",
|
||||||
|
|||||||
@@ -7,6 +7,12 @@
|
|||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
"com.unity.2d.sprite": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"depth": 0,
|
||||||
|
"source": "builtin",
|
||||||
|
"dependencies": {}
|
||||||
|
},
|
||||||
"com.unity.burst": {
|
"com.unity.burst": {
|
||||||
"version": "1.8.25",
|
"version": "1.8.25",
|
||||||
"depth": 2,
|
"depth": 2,
|
||||||
|
|||||||
Reference in new issue
Block a user