Cooker + New Model (textures) + Reels moving
This commit is contained in:
1 parent
3a94e032c9
commit
7de0125751
78 files changed
+154076
-31185
No files matched your search
@@ -36,7 +36,10 @@ public class XYCoordinatesMovementScript : MonoBehaviour
|
||||
[SerializeField]
|
||||
bool TestProgramStart;
|
||||
|
||||
[SerializeField]
|
||||
[SerializeField]
|
||||
bool DebugStart = false;
|
||||
|
||||
[SerializeField]
|
||||
bool Restart = false;
|
||||
|
||||
// Ôëàã ðàáîòû, ïî íåìó ïðîâåðÿåòñÿ, âûïîëíÿåòñÿ ëè ñåé÷àñ êàêàÿ-ëèáî ïðîãðàììà
|
||||
@@ -61,6 +64,8 @@ public class XYCoordinatesMovementScript : MonoBehaviour
|
||||
|
||||
// Ãðàíèöû ïî êîîðäèíàòàì: (0.435, 0.02, 0.4125)
|
||||
|
||||
[SerializeField]
|
||||
GameObject Board;
|
||||
|
||||
void Start()
|
||||
{
|
||||
@@ -71,7 +76,7 @@ public class XYCoordinatesMovementScript : MonoBehaviour
|
||||
InsertedReels.Add(false);
|
||||
}
|
||||
}
|
||||
void Update()
|
||||
void FixedUpdate()
|
||||
{
|
||||
CurrentCords = new(XAxis.localPosition.x, YAxis.localPosition.y, ZAxis.localPosition.z);
|
||||
|
||||
@@ -80,6 +85,11 @@ public class XYCoordinatesMovementScript : MonoBehaviour
|
||||
XAxis.Translate(CartXSpeed * Time.deltaTime, 0, 0);
|
||||
ZAxis.Translate(0, 0, CartZSpeed * Time.deltaTime);
|
||||
}*/
|
||||
if (DebugStart)
|
||||
{
|
||||
DebugStart = false;
|
||||
StartWork(PalmTreeProg);
|
||||
}
|
||||
|
||||
if (TestProgramStart == true)
|
||||
{
|
||||
@@ -128,6 +138,7 @@ public class XYCoordinatesMovementScript : MonoBehaviour
|
||||
{
|
||||
WorkInProgress = false;
|
||||
Restart = true;
|
||||
Board.GetComponent<BoardScript>().ComponentsPlaced();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user