Finish Bitch

ThingsThatWork
CDuong 1 year ago
parent 9e86679505
commit 5be2668319

Binary file not shown.

@ -66,10 +66,12 @@
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\DropdownSample.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\DropdownSample.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\VertexColorCycler.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\VertexColorCycler.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\EnvMapAnimator.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\EnvMapAnimator.cs" />
<Compile Include="Assets\LookAtCamera.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_TextSelector_A.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_TextSelector_A.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark01_UGUI.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark01_UGUI.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\SimpleScript.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\SimpleScript.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark04.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark04.cs" />
<Compile Include="Assets\Nigga.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\ChatController.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\ChatController.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\ObjectSpin.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\ObjectSpin.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_PhoneNumberValidator.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_PhoneNumberValidator.cs" />
@ -93,6 +95,7 @@
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\CameraController.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\CameraController.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark03.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark03.cs" />
<Compile Include="Assets\NewTextModify.cs" /> <Compile Include="Assets\NewTextModify.cs" />
<Compile Include="Assets\Spawner_Code.cs" />
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_TextInfoDebugTool.cs" /> <Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_TextInfoDebugTool.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

@ -1,35 +1,13 @@
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!91 &9100000 --- !u!1102 &-8900804481672610341
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: 12211_Robot_l2
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: 6253770010713829114}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &1455923301126016929
AnimatorState: AnimatorState:
serializedVersion: 6 serializedVersion: 6
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: OpenPalm&Point m_Name: Point2
m_Speed: 1 m_Speed: 1
m_CycleOffset: 0 m_CycleOffset: 0
m_Transitions: [] m_Transitions: []
@ -48,14 +26,14 @@ AnimatorState:
m_MirrorParameter: m_MirrorParameter:
m_CycleOffsetParameter: m_CycleOffsetParameter:
m_TimeParameter: m_TimeParameter:
--- !u!1102 &2557972431734937818 --- !u!1102 &-4098386000167556518
AnimatorState: AnimatorState:
serializedVersion: 6 serializedVersion: 6
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: Idle m_Name: Point1
m_Speed: 1 m_Speed: 1
m_CycleOffset: 0 m_CycleOffset: 0
m_Transitions: [] m_Transitions: []
@ -68,39 +46,35 @@ AnimatorState:
m_MirrorParameterActive: 0 m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0 m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0 m_TimeParameterActive: 0
m_Motion: {fileID: 4781951162920444690, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} m_Motion: {fileID: -1246731831762816583, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
m_Tag: m_Tag:
m_SpeedParameter: m_SpeedParameter:
m_MirrorParameter: m_MirrorParameter:
m_CycleOffsetParameter: m_CycleOffsetParameter:
m_TimeParameter: m_TimeParameter:
--- !u!1102 &2788280074804594844 --- !u!91 &9100000
AnimatorState: AnimatorController:
serializedVersion: 6 m_ObjectHideFlags: 0
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: Point m_Name: 12211_Robot_l2
m_Speed: 1 serializedVersion: 5
m_CycleOffset: 0 m_AnimatorParameters: []
m_Transitions: [] m_AnimatorLayers:
m_StateMachineBehaviours: [] - serializedVersion: 5
m_Position: {x: 50, y: 50, z: 0} m_Name: Base Layer
m_IKOnFeet: 0 m_StateMachine: {fileID: 6253770010713829114}
m_WriteDefaultValues: 1 m_Mask: {fileID: 0}
m_Mirror: 0 m_Motions: []
m_SpeedParameterActive: 0 m_Behaviours: []
m_MirrorParameterActive: 0 m_BlendingMode: 0
m_CycleOffsetParameterActive: 0 m_SyncedLayerIndex: -1
m_TimeParameterActive: 0 m_DefaultWeight: 0
m_Motion: {fileID: -1246731831762816583, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} m_IKPass: 0
m_Tag: m_SyncedLayerAffectsTiming: 0
m_SpeedParameter: m_Controller: {fileID: 9100000}
m_MirrorParameter: --- !u!1102 &1444865627507191996
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &4020121398191267347
AnimatorState: AnimatorState:
serializedVersion: 6 serializedVersion: 6
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -126,14 +100,14 @@ AnimatorState:
m_MirrorParameter: m_MirrorParameter:
m_CycleOffsetParameter: m_CycleOffsetParameter:
m_TimeParameter: m_TimeParameter:
--- !u!1102 &5044872732853706629 --- !u!1102 &1729847278656027416
AnimatorState: AnimatorState:
serializedVersion: 6 serializedVersion: 6
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: OpenPalm m_Name: Idle
m_Speed: 1 m_Speed: 1
m_CycleOffset: 0 m_CycleOffset: 0
m_Transitions: [] m_Transitions: []
@ -146,7 +120,7 @@ AnimatorState:
m_MirrorParameterActive: 0 m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0 m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0 m_TimeParameterActive: 0
m_Motion: {fileID: 4594303134292970328, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} m_Motion: {fileID: 4781951162920444690, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
m_Tag: m_Tag:
m_SpeedParameter: m_SpeedParameter:
m_MirrorParameter: m_MirrorParameter:
@ -162,20 +136,17 @@ AnimatorStateMachine:
m_Name: Base Layer m_Name: Base Layer
m_ChildStates: m_ChildStates:
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 2557972431734937818} m_State: {fileID: 1729847278656027416}
m_Position: {x: 260, y: -30, z: 0} m_Position: {x: 330.9544, y: 152.89932, z: 0}
- serializedVersion: 1
m_State: {fileID: 5044872732853706629}
m_Position: {x: 390, y: 120, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 1455923301126016929} m_State: {fileID: -4098386000167556518}
m_Position: {x: 310, y: 200, z: 0} m_Position: {x: 210, y: 250, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 2788280074804594844} m_State: {fileID: -8900804481672610341}
m_Position: {x: 410, y: 60, z: 0} m_Position: {x: 460, y: 280, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 4020121398191267347} m_State: {fileID: 1444865627507191996}
m_Position: {x: 80, y: 220, z: 0} m_Position: {x: 160, y: 360, z: 0}
m_ChildStateMachines: [] m_ChildStateMachines: []
m_AnyStateTransitions: [] m_AnyStateTransitions: []
m_EntryTransitions: [] m_EntryTransitions: []
@ -185,4 +156,4 @@ AnimatorStateMachine:
m_EntryPosition: {x: 50, y: 120, z: 0} m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0} m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 2557972431734937818} m_DefaultState: {fileID: 1729847278656027416}

@ -11,6 +11,14 @@ public class Operation {
// 2: CloseDoor // 2: CloseDoor
// 3: Delay // 3: Delay
// 4: AddValue // 4: AddValue
// 5: MoveText
}
public class PositionText {
public Vector3 StartPoint;
public Vector3 EndPoint;
public string value;
} }
public class Initalize : MonoBehaviour public class Initalize : MonoBehaviour
@ -18,9 +26,13 @@ public class Initalize : MonoBehaviour
public GameObject[] Boxes; public GameObject[] Boxes;
public DoorAnimation[] Door; public DoorAnimation[] Door;
public NewTextModify[] Label; public NewTextModify[] Label;
public GameObject AllBoxes; public Spawner_Code MoveText;
public Canvas OutputCanvas;
public string UpdateOutputValue;
public GameObject AllBoxes, ParentMoveText, RobotText, RealRobot;
public RobotAnimation RobotA;
public int IndexChange = -1, ActionChange = -1, TimeStop = 0, Accumulator = 0; public int IndexChange = -1, ActionChange = -1, TimeStop = 0, Accumulator = 0;
public bool ActionExisted = false, ActionMoving = false; public bool ActionExisted = false, ActionMoving = false, TextMoving = false, UpdateOutput = false, RobotRotating = false, GonnaRest = false, HoldingText = false, GonnaHoldText = false;
Queue<Operation> AllOperation = new Queue<Operation>(); Queue<Operation> AllOperation = new Queue<Operation>();
public GameObject TextAreaInstruction, TextAreaInput, CompileButton; public GameObject TextAreaInstruction, TextAreaInput, CompileButton;
@ -36,6 +48,9 @@ public class Initalize : MonoBehaviour
void Start() void Start()
{ {
// public string s = DisplayAccumulator.GetComponent<TextMeshProUGUI>(); // public string s = DisplayAccumulator.GetComponent<TextMeshProUGUI>();
OutputCanvas.enabled = false;
RobotA = RealRobot.GetComponent<RobotAnimation>();
MoveText = ParentMoveText.gameObject.transform.GetChild(0).gameObject.GetComponent<Spawner_Code>();
for(int i = 0; i < 100; ++i) { for(int i = 0; i < 100; ++i) {
Boxes[i] = AllBoxes.gameObject.transform.GetChild(i).gameObject; Boxes[i] = AllBoxes.gameObject.transform.GetChild(i).gameObject;
Label[i] = Boxes[i].GetComponent<NewTextModify>(); Label[i] = Boxes[i].GetComponent<NewTextModify>();
@ -50,52 +65,99 @@ public class Initalize : MonoBehaviour
return Op; return Op;
} }
public PositionText Chill(float StartX, float StartY, float StartZ, float EndX, float EndY, float EndZ, string value) {
var PT = new PositionText();
PT.StartPoint = new Vector3(StartX, StartY, StartZ);
PT.EndPoint = new Vector3(EndX, EndY, EndZ);
PT.value = value;
return PT;
}
// Put value from Box into Accumulator // Put value from Box into Accumulator
void Op5(int idx) { void Op5(int idx) {
AllOperation.Enqueue(Cope(idx, 0, 11));
AllOperation.Enqueue(Cope(idx, 0, 1)); AllOperation.Enqueue(Cope(idx, 0, 1));
AllOperation.Enqueue(Cope(idx, FakeBoxes[idx], -1));
AllOperation.Enqueue(Cope(100, 0, 12));
AllOperation.Enqueue(Cope(100, FakeBoxes[idx], -2));
AllOperation.Enqueue(Cope(100, FakeBoxes[idx], 0)); AllOperation.Enqueue(Cope(100, FakeBoxes[idx], 0));
AllOperation.Enqueue(Cope(0, 100, 3));
AllOperation.Enqueue(Cope(idx, 0, 2)); AllOperation.Enqueue(Cope(idx, 0, 2));
AllOperation.Enqueue(Cope(0, 0, 13));
FakeAccumulator = FakeBoxes[idx]; FakeAccumulator = FakeBoxes[idx];
} }
// Put value from Accumulator into Box // Put value from Accumulator into Box
void Op3(int idx) { void Op3(int idx) {
// Code to animate number to fly up from Accumulator // Code to animate number to fly up from Accumulator
AllOperation.Enqueue(Cope(100, 0, 11));
AllOperation.Enqueue(Cope(100, FakeAccumulator, -1));
AllOperation.Enqueue(Cope(idx, 0, 12));
AllOperation.Enqueue(Cope(idx, 0, 1)); AllOperation.Enqueue(Cope(idx, 0, 1));
AllOperation.Enqueue(Cope(idx, FakeAccumulator, -2));
AllOperation.Enqueue(Cope(idx, FakeAccumulator, 0)); AllOperation.Enqueue(Cope(idx, FakeAccumulator, 0));
AllOperation.Enqueue(Cope(0, 100, 3));
AllOperation.Enqueue(Cope(idx, 0, 2)); AllOperation.Enqueue(Cope(idx, 0, 2));
AllOperation.Enqueue(Cope(0, 0, 13));
FakeBoxes[idx] = FakeAccumulator; FakeBoxes[idx] = FakeAccumulator;
} }
// Get value from Box and add into Accumulator // Get value from Box and add into Accumulator
void Op1(int idx) { void Op1(int idx) {
AllOperation.Enqueue(Cope(idx, 0, 11));
AllOperation.Enqueue(Cope(idx, 0, 1)); AllOperation.Enqueue(Cope(idx, 0, 1));
AllOperation.Enqueue(Cope(idx, FakeBoxes[idx], -1));
AllOperation.Enqueue(Cope(100, 0, 12));
AllOperation.Enqueue(Cope(100, FakeBoxes[idx], -2));
AllOperation.Enqueue(Cope(100, FakeBoxes[idx], 4)); AllOperation.Enqueue(Cope(100, FakeBoxes[idx], 4));
AllOperation.Enqueue(Cope(0, 100, 3));
AllOperation.Enqueue(Cope(idx, 0, 2)); AllOperation.Enqueue(Cope(idx, 0, 2));
AllOperation.Enqueue(Cope(0, 0, 13));
FakeAccumulator += FakeBoxes[idx]; FakeAccumulator += FakeBoxes[idx];
} }
// Get value from Box and subtract from Accumulator // Get value from Box and subtract from Accumulator
void Op2(int idx) { void Op2(int idx) {
AllOperation.Enqueue(Cope(idx, 0, 11));
AllOperation.Enqueue(Cope(idx, 0, 1)); AllOperation.Enqueue(Cope(idx, 0, 1));
AllOperation.Enqueue(Cope(idx, FakeBoxes[idx], -1));
AllOperation.Enqueue(Cope(100, 0, 12));
AllOperation.Enqueue(Cope(100, FakeBoxes[idx], -2));
AllOperation.Enqueue(Cope(100, -FakeBoxes[idx], 4)); AllOperation.Enqueue(Cope(100, -FakeBoxes[idx], 4));
AllOperation.Enqueue(Cope(0, 100, 3));
AllOperation.Enqueue(Cope(idx, 0, 2)); AllOperation.Enqueue(Cope(idx, 0, 2));
AllOperation.Enqueue(Cope(0, 0, 13));
FakeAccumulator -= FakeBoxes[idx]; FakeAccumulator -= FakeBoxes[idx];
} }
void Op901() { void Op901() {
// Code to summon number from Input Bracket // Code to summon number from Input Bracket
AllOperation.Enqueue(Cope(100, AllInput.Peek(), 0)); int value = AllInput.Peek();
FakeAccumulator = AllInput.Peek(); AllInput.Dequeue();
AllOperation.Enqueue(Cope(102, value, -3));
AllOperation.Enqueue(Cope(102, 0, 11));
AllOperation.Enqueue(Cope(102, value, -1));
AllOperation.Enqueue(Cope(100, 0, 12));
AllOperation.Enqueue(Cope(100, value, -2));
AllOperation.Enqueue(Cope(100, value, 0));
AllOperation.Enqueue(Cope(0, 0, 13));
FakeAccumulator = value; AllInput.Dequeue();
} }
void Op902() { void Op902() {
// Code to summon number from Accumulator // Code to summon number from Accumulator
AllOperation.Enqueue(Cope(100, 0, 11));
AllOperation.Enqueue(Cope(100, FakeAccumulator, -1));
AllOperation.Enqueue(Cope(101, 0, 12));
AllOperation.Enqueue(Cope(101, FakeAccumulator, -2));
AllOperation.Enqueue(Cope(101, FakeAccumulator, 0)); AllOperation.Enqueue(Cope(101, FakeAccumulator, 0));
AllOperation.Enqueue(Cope(0, 0, 13));
// Output = FakeAccumulator; // Output = FakeAccumulator;
} }
@ -103,7 +165,6 @@ public class Initalize : MonoBehaviour
void UpdateValue(int idx, int value) { void UpdateValue(int idx, int value) {
AllOperation.Enqueue(Cope(idx, 0, 1)); AllOperation.Enqueue(Cope(idx, 0, 1));
AllOperation.Enqueue(Cope(idx, value, 0)); AllOperation.Enqueue(Cope(idx, value, 0));
AllOperation.Enqueue(Cope(0, 100, 3));
AllOperation.Enqueue(Cope(idx, 0, 2)); AllOperation.Enqueue(Cope(idx, 0, 2));
FakeBoxes[idx] = value; FakeBoxes[idx] = value;
} }
@ -125,6 +186,7 @@ public class Initalize : MonoBehaviour
TextAreaInstruction.gameObject.SetActive(false); TextAreaInstruction.gameObject.SetActive(false);
CompileButton.gameObject.SetActive(false); CompileButton.gameObject.SetActive(false);
TextAreaInput.gameObject.SetActive(false); TextAreaInput.gameObject.SetActive(false);
OutputCanvas.enabled = true;
int InputLength = InputText.Length; int InputLength = InputText.Length;
for(int i = 0; i < InputLength; ++i) { for(int i = 0; i < InputLength; ++i) {
@ -187,6 +249,19 @@ public class Initalize : MonoBehaviour
} }
} }
Vector3 GetPositionBox(int idx) {
if(idx < 100) return new Vector3(12 * (idx % 10) + 6, 12 * (idx / 10) + 6, -12);
else if(idx == 100) return new Vector3(137f, 49.1f, -40.4f);
else if(idx == 102) return new Vector3(0.2f, 4.1f, -32.5f);
else if(idx == 101) return new Vector3(-0.3f, 4.1f, -49.6f);
return new Vector3(0f, 0f, 0f);
}
Vector3 GetRobotHand() {
Debug.Log(RealRobot.transform.rotation.eulerAngles);
return RobotText.transform.position;
}
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
@ -195,6 +270,10 @@ public class Initalize : MonoBehaviour
TimeStop -= 1; TimeStop -= 1;
return; return;
} }
if(HoldingText) {
Vector3 HandPosition = GetRobotHand();
MoveText.Clone.transform.position = HandPosition;
}
if(ActionExisted) { if(ActionExisted) {
if(!Door[IndexChange].DoorIsMoving) { if(!Door[IndexChange].DoorIsMoving) {
if(ActionChange == 1) Door[IndexChange].OpenDoor(); if(ActionChange == 1) Door[IndexChange].OpenDoor();
@ -206,6 +285,24 @@ public class Initalize : MonoBehaviour
ActionChange = -1; ActionChange = -1;
} }
} }
else if(TextMoving) {
TextMoving = MoveText.Moving;
if(!TextMoving && UpdateOutput) {
UpdateOutput = false;
OutputCanvas.gameObject.transform.GetChild(0).gameObject.GetComponent<TextMeshProUGUI>().text += UpdateOutputValue;
}
if(!TextMoving && GonnaHoldText) {
GonnaHoldText = false;
HoldingText = true;
}
}
else if(RobotRotating) {
if(RobotA.turning == 0) {
RobotRotating = false;
if(HoldingText)
HoldingText = false;
}
}
else { else {
if(AllOperation.Count == 0) return; if(AllOperation.Count == 0) return;
var Current = AllOperation.Peek(); AllOperation.Dequeue(); var Current = AllOperation.Peek(); AllOperation.Dequeue();
@ -231,15 +328,51 @@ public class Initalize : MonoBehaviour
else if(Current.op == 3) { else if(Current.op == 3) {
TimeStop = Current.val; TimeStop = Current.val;
} }
else { else if(Current.op == -1) {
int idx = Current.idx;
Vector3 EndPoint = GetRobotHand();
string value = Current.val.ToString();
MoveText.Change(GetPositionBox(idx), EndPoint, value);
TextMoving = true; GonnaHoldText = true;
}
else if(Current.op == -2) {
int idx = Current.idx;
Vector3 StartPoint = GetRobotHand();
string value = Current.val.ToString();
MoveText.Change(StartPoint, GetPositionBox(idx), value);
MoveText.OffSoon = true;
TextMoving = true;
if(idx == 101) {
UpdateOutput = true;
UpdateOutputValue = "\n" + value;
}
}
else if(Current.op == -3) {
int idx = Current.idx;
string value = Current.val.ToString();
Vector3 EndPoint = GetPositionBox(102);
Vector3 StartPoint = new Vector3(EndPoint.x, EndPoint.y + 100, EndPoint.z);
MoveText.Change(StartPoint, EndPoint, value);
TextMoving = true;
}
else if(Current.op == 11) {
Vector3 PointingPosition = GetPositionBox(Current.idx);
RobotA.point1(PointingPosition.x, PointingPosition.z);
RobotRotating = true;
}
else if(Current.op == 12) {
Vector3 PointingPosition = GetPositionBox(Current.idx);
RobotA.point2(PointingPosition.x, PointingPosition.z);
RobotRotating = true;
}
else if(Current.op == 13) {
RobotA.rest(); RobotRotating = true;
}
else if(Current.op == 1 || Current.op == 2) {
ActionExisted = true; ActionExisted = true;
IndexChange = Current.idx; IndexChange = Current.idx;
ActionChange = Current.op; ActionChange = Current.op;
} }
} }
} }
void LateUpdate() {
}
} }

@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class LookAtCamera : MonoBehaviour
{
// Start is called before the first frame update
public GameObject Ok;
void Start()
{
Ok.transform.LookAt(Camera.main.transform);
Ok.transform.Rotate(0, 180, 0);
}
// Update is called once per frame
void Update()
{
Ok.transform.LookAt(Camera.main.transform);
Ok.transform.Rotate(0, 180, 0);
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: da47d6c1b5b58d444859859535f480c2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -6,8 +6,8 @@ public class RobotAnimation : MonoBehaviour
{ {
public GameObject Robot; public GameObject Robot;
public Animator robotanimation; public Animator robotanimation;
public int turning, pending, type, timer; public int turning, pending, type;
public float angle, curang, lmao; public float angle, curang, lmao, speed=25f;
float calc(float desire) float calc(float desire)
{ {
@ -16,53 +16,44 @@ public class RobotAnimation : MonoBehaviour
else return 360F - (desire - curang); else return 360F - (desire - curang);
} }
void point(float x, float z, int pend) public void point1(float x, float z)
{ {
float radians = Mathf.Atan((Robot.transform.position.x - x) / (Robot.transform.position.z - z)); float radians = Mathf.Atan((Robot.transform.position.x - x) / (Robot.transform.position.z - z));
float angl = calc(radians * (180 / Mathf.PI)) / 100F; float angl = calc(radians * (180 / Mathf.PI)) / speed;
turning = 100; turning = (int)speed;
pending = 100 + pend; pending = (int)1;
angle = angl; angle = angl;
type = 0; type = 0;
} }
void palm(int pend) public void point2(float x,float z)
{
pending = 1 + pend;
type = 1;
}
void palmnpoint(float x, float z, int pend)
{ {
float radians = Mathf.Atan((Robot.transform.position.x - x) / (Robot.transform.position.z - z)); float radians = Mathf.Atan((Robot.transform.position.x - x) / (Robot.transform.position.z - z));
float angl = calc(radians * (180 / Mathf.PI)) / 100F; float angl = calc(radians * (180 / Mathf.PI)) / speed;
turning = 100; turning = (int)speed;
pending = 100 + pend; pending = (int)1;
angle = angl; angle = angl;
type = 2; type = 1;
} }
void rest(int pend) public void rest()
{ {
float angl = calc(0) / 100F; float angl = calc(0) / speed;
turning = 100; turning = (int)speed;
pending = 100 + pend; pending = (int)1;
angle = angl; angle = angl;
type = 3; type = 2;
} }
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
robotanimation = GetComponent<Animator>(); robotanimation = GetComponent<Animator>();
point(24, 0, 0);
} }
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
timer++;
if (timer == 300) palm(0);
if (turning > 0) if (turning > 0)
{ {
turning--; turning--;
@ -74,16 +65,15 @@ public class RobotAnimation : MonoBehaviour
pending--; pending--;
if (pending == 0) if (pending == 0)
{ {
if (type == 0) robotanimation.Play("Point"); if (type == 0) robotanimation.Play("Point1");
else if (type == 1) robotanimation.Play("OpenPalm"); else if (type == 1) robotanimation.Play("Point2");
else if (type == 2) robotanimation.Play("OpenPalm&Point"); else if (type == 2)
else if (type == 3)
{ {
robotanimation.Play("Rest"); robotanimation.Play("Rest");
pending = 30; pending = 100;
type = 4; type = 3;
} }
else if (type == 4) robotanimation.Play("Idle"); else if (type == 3) robotanimation.Play("Idle");
} }
} }
} }

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 705507994} m_Sun: {fileID: 705507994}
m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1} m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
@ -285,7 +285,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3} - target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0 value: 2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3} - target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -862,13 +862,26 @@ MonoBehaviour:
- {fileID: 0} - {fileID: 0}
- {fileID: 0} - {fileID: 0}
- {fileID: 0} - {fileID: 0}
MoveText: {fileID: 105804877}
OutputCanvas: {fileID: 1948338499}
UpdateOutputValue:
AllBoxes: {fileID: 97568986} AllBoxes: {fileID: 97568986}
ParentMoveText: {fileID: 105804877}
RobotText: {fileID: 192302489}
RealRobot: {fileID: 285089070}
RobotA: {fileID: 0}
IndexChange: -1 IndexChange: -1
ActionChange: -1 ActionChange: -1
TimeStop: 0 TimeStop: 0
Accumulator: 0 Accumulator: 0
ActionExisted: 0 ActionExisted: 0
ActionMoving: 0 ActionMoving: 0
TextMoving: 0
UpdateOutput: 0
RobotRotating: 0
GonnaRest: 0
HoldingText: 0
GonnaHoldText: 0
TextAreaInstruction: {fileID: 448218627} TextAreaInstruction: {fileID: 448218627}
TextAreaInput: {fileID: 638741701} TextAreaInput: {fileID: 638741701}
CompileButton: {fileID: 1413505213} CompileButton: {fileID: 1413505213}
@ -992,7 +1005,39 @@ Transform:
- {fileID: 911588470} - {fileID: 911588470}
- {fileID: 1040280634} - {fileID: 1040280634}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 3 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &105804877
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 105804878}
m_Layer: 0
m_Name: GameObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &105804878
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 105804877}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 617.5, y: 347.25, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1568796331}
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &111540478 --- !u!1001 &111540478
PrefabInstance: PrefabInstance:
@ -1310,6 +1355,109 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3} m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3}
m_PrefabInstance: {fileID: 431109834} m_PrefabInstance: {fileID: 431109834}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1 &192302489
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 192302490}
- component: {fileID: 192302493}
- component: {fileID: 192302492}
- component: {fileID: 192302491}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &192302490
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 192302489}
m_LocalRotation: {x: -0, y: 0.27157485, z: -0, w: 0.96241736}
m_LocalPosition: {x: 0, y: 0, z: 8.22}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1887228154}
m_Father: {fileID: 285089074}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 3.75, y: 23.39}
m_SizeDelta: {x: 50, y: 12.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &192302491
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 192302489}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &192302492
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 192302489}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 1
--- !u!223 &192302493
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 192302489}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!1001 &209160123 --- !u!1001 &209160123
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1320,7 +1468,7 @@ PrefabInstance:
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} - target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 1 value: 7
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} - target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
@ -1328,7 +1476,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} - target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 19.1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} - target: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -1368,7 +1516,10 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
insertIndex: 1
addedObject: {fileID: 192302490}
m_AddedComponents: m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
insertIndex: -1 insertIndex: -1
@ -1376,6 +1527,9 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
insertIndex: -1 insertIndex: -1
addedObject: {fileID: 285089073} addedObject: {fileID: 285089073}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
insertIndex: -1
addedObject: {fileID: 285089075}
m_SourcePrefab: {fileID: 100100000, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
--- !u!1001 &212256088 --- !u!1001 &212256088
PrefabInstance: PrefabInstance:
@ -1641,6 +1795,141 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3} m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3}
m_PrefabInstance: {fileID: 1577677686} m_PrefabInstance: {fileID: 1577677686}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1 &265372053
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 265372054}
- component: {fileID: 265372056}
- component: {fileID: 265372055}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &265372054
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 265372053}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1948338500}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -800, y: 180}
m_SizeDelta: {x: 320, y: 800}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &265372055
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 265372053}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278255392
m_fontColor: {r: 0.12390661, g: 1, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &265372056
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 265372053}
m_CullTransparentMesh: 1
--- !u!1001 &267975390 --- !u!1001 &267975390
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1853,10 +2142,28 @@ MonoBehaviour:
turning: 0 turning: 0
pending: 0 pending: 0
type: 0 type: 0
timer: 0
angle: 0 angle: 0
curang: 0 curang: 0
lmao: 0 lmao: 0
speed: 25
--- !u!4 &285089074 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 17da3fd4e0129f5449ca3ef38c7c6467, type: 3}
m_PrefabInstance: {fileID: 209160123}
m_PrefabAsset: {fileID: 0}
--- !u!114 &285089075
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 285089070}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: da47d6c1b5b58d444859859535f480c2, type: 3}
m_Name:
m_EditorClassIdentifier:
Ok: {fileID: 1887228153}
--- !u!1001 &287154649 --- !u!1001 &287154649
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3836,7 +4143,7 @@ PrefabInstance:
m_AddedGameObjects: [] m_AddedGameObjects: []
m_AddedComponents: [] m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3}
--- !u!1 &705507993 --- !u!1 &642806318
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -3844,16 +4151,151 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 705507995} - component: {fileID: 642806321}
- component: {fileID: 705507994} - component: {fileID: 642806320}
m_Layer: 0 - component: {fileID: 642806319}
m_Name: Directional Light m_Layer: 5
m_Name: TheChosenOne
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!108 &705507994 --- !u!114 &642806319
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 642806318}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 0
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190335
m_fontColor: {r: 1, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 10
m_fontSizeBase: 10
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &642806320
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 642806318}
m_CullTransparentMesh: 1
--- !u!224 &642806321
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 642806318}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1568796331}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 50, y: 12.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &705507993
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 705507995}
- component: {fileID: 705507994}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &705507994
Light: Light:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -3928,7 +4370,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 2 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &757743338 --- !u!1001 &757743338
PrefabInstance: PrefabInstance:
@ -4026,7 +4468,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 521707c941a6558438374a67ba294c3e, type: 3} - target: {fileID: -8679921383154817045, guid: 521707c941a6558438374a67ba294c3e, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 25.8 value: 41
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 521707c941a6558438374a67ba294c3e, type: 3} - target: {fileID: -8679921383154817045, guid: 521707c941a6558438374a67ba294c3e, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -4765,7 +5207,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 945121808} m_GameObject: {fileID: 945121808}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 32.22973, y: 6.6902466, z: -65.04465} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 100, y: 100, z: 100} m_LocalScale: {x: 100, y: 100, z: 100}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
@ -4862,7 +5304,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225} m_GameObject: {fileID: 963194225}
m_LocalRotation: {x: 0.09587541, y: 0.24321201, z: -0.02416578, w: 0.9649207} m_LocalRotation: {x: 0.09587541, y: 0.24321201, z: -0.02416578, w: 0.9649207}
m_LocalPosition: {x: 48.2, y: 43, z: -98.8} m_LocalPosition: {x: -0.2, y: 38.9, z: -104.7}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@ -5709,7 +6151,7 @@ RectTransform:
- {fileID: 1413505214} - {fileID: 1413505214}
- {fileID: 638741702} - {fileID: 638741702}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 4 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
@ -7630,6 +8072,130 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3} m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3}
m_PrefabInstance: {fileID: 1566939525} m_PrefabInstance: {fileID: 1566939525}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1 &1568796326
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1568796331}
- component: {fileID: 1568796330}
- component: {fileID: 1568796329}
- component: {fileID: 1568796328}
- component: {fileID: 1568796327}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1568796327
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1568796326}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b70bdf6c06a1f964299d65114cad0037, type: 3}
m_Name:
m_EditorClassIdentifier:
Canva: {fileID: 1568796330}
Clone: {fileID: 105804877}
Number: {fileID: 642806319}
Speed: 5
StartPoint: {x: 0, y: 0, z: 0}
EndPoint: {x: 0, y: 0, z: 0}
Moving: 0
OffSoon: 0
--- !u!114 &1568796328
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1568796326}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &1568796329
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1568796326}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 1
--- !u!223 &1568796330
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1568796326}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &1568796331
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1568796326}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 642806321}
m_Father: {fileID: 105804878}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1001 &1577677686 --- !u!1001 &1577677686
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -7937,7 +8503,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3} - target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0 value: 2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3} - target: {fileID: -8679921383154817045, guid: 49091d0c0fe8c3041af75ee6403e0b6e, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -8730,6 +9296,141 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1832601096} m_GameObject: {fileID: 1832601096}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1 &1887228153
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1887228154}
- component: {fileID: 1887228156}
- component: {fileID: 1887228155}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1887228154
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1887228153}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 192302490}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 50, y: 12.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1887228155
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1887228153}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190335
m_fontColor: {r: 1, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 10
m_fontSizeBase: 10
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1887228156
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1887228153}
m_CullTransparentMesh: 1
--- !u!1 &1925275423 --- !u!1 &1925275423
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -8952,6 +9653,109 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3} m_CorrespondingSourceObject: {fileID: 8097081801502820135, guid: 9e0ac92152308394fbbcea4c4a625c7f, type: 3}
m_PrefabInstance: {fileID: 1109283407} m_PrefabInstance: {fileID: 1109283407}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1 &1948338496
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1948338500}
- component: {fileID: 1948338499}
- component: {fileID: 1948338498}
- component: {fileID: 1948338497}
m_Layer: 5
m_Name: OutputCanvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1948338497
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1948338496}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &1948338498
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1948338496}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 1920, y: 1080}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!223 &1948338499
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1948338496}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &1948338500
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1948338496}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 265372054}
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!1 &1967074423 --- !u!1 &1967074423
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

@ -0,0 +1,48 @@
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class Spawner_Code : MonoBehaviour
{
public Canvas Canva;
public GameObject Clone;
public TextMeshProUGUI Number;
public float Speed = 20;
public Vector3 StartPoint, EndPoint;
public bool Moving = false, OffSoon = false;
public void Start()
{
Speed = 20;
Clone.transform.position = StartPoint;
Canva.enabled = false;
}
public void Change(Vector3 StartInput, Vector3 EndInput, string value)
{
Moving = true;
Number.SetText(value);
Clone.transform.position = StartInput;
StartPoint = StartInput;
EndPoint = EndInput;
}
void Update()
{
if (Moving)
{
Canva.enabled = true;
if (Clone.transform.position != EndPoint)
{
Clone.transform.position = Vector3.MoveTowards(Clone.transform.position, EndPoint, Speed * Time.deltaTime);
}
else
{
Moving = false;
if(OffSoon) {
OffSoon = false;
Canva.enabled = false;
}
}
}
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b70bdf6c06a1f964299d65114cad0037
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

@ -41,8 +41,8 @@ ModelImporter:
name: Idle name: Idle
takeName: Armature|ArmatureAction takeName: Armature|ArmatureAction
internalID: 4781951162920444690 internalID: 4781951162920444690
firstFrame: 1 firstFrame: 4
lastFrame: 40 lastFrame: 36
wrapMode: 0 wrapMode: 0
orientationOffsetY: 0 orientationOffsetY: 0
level: 0 level: 0
@ -67,39 +67,10 @@ ModelImporter:
maskSource: {instanceID: 0} maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0 additiveReferencePoseFrame: 0
- serializedVersion: 16 - serializedVersion: 16
name: Point name: Point1
takeName: Armature|ArmatureAction takeName: Armature|ArmatureAction
internalID: -1246731831762816583 internalID: -1246731831762816583
firstFrame: 41 firstFrame: 41
lastFrame: 100
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 0
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
- serializedVersion: 16
name: OpenPalm
takeName: Armature|ArmatureAction
internalID: 4594303134292970328
firstFrame: 101
lastFrame: 160 lastFrame: 160
wrapMode: 0 wrapMode: 0
orientationOffsetY: 0 orientationOffsetY: 0
@ -125,7 +96,7 @@ ModelImporter:
maskSource: {instanceID: 0} maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0 additiveReferencePoseFrame: 0
- serializedVersion: 16 - serializedVersion: 16
name: OpenPalm&Point name: Point2
takeName: Armature|ArmatureAction takeName: Armature|ArmatureAction
internalID: 3696890337287820257 internalID: 3696890337287820257
firstFrame: 161 firstFrame: 161

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save