Stuff
This commit is contained in:
+2
-1
@@ -20,6 +20,7 @@
|
|||||||
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Fields/LuckField.cs" root0="FORCE_HIGHLIGHTING" />
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Fields/LuckField.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Fields/UnluckyField.cs" root0="FORCE_HIGHLIGHTING" />
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Fields/UnluckyField.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Fields/VSField.cs" root0="FORCE_HIGHLIGHTING" />
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Fields/VSField.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/GameCamera.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Items/Trap.cs" root0="FORCE_HIGHLIGHTING" />
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Items/Trap.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Players/AnimationHandler.cs" root0="FORCE_HIGHLIGHTING" />
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Players/AnimationHandler.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Players/NoPlayablePlayer.cs" root0="FORCE_HIGHLIGHTING" />
|
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Players/NoPlayablePlayer.cs" root0="FORCE_HIGHLIGHTING" />
|
||||||
@@ -165,7 +166,7 @@
|
|||||||
<workItem from="1680813239896" duration="4155000" />
|
<workItem from="1680813239896" duration="4155000" />
|
||||||
<workItem from="1681056387914" duration="882000" />
|
<workItem from="1681056387914" duration="882000" />
|
||||||
<workItem from="1681415672515" duration="5000" />
|
<workItem from="1681415672515" duration="5000" />
|
||||||
<workItem from="1681479671396" duration="12582000" />
|
<workItem from="1681479671396" duration="13940000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@@ -878,7 +878,7 @@ RectTransform:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 6425561450210311795}
|
m_GameObject: {fileID: 6425561450210311795}
|
||||||
m_LocalRotation: {x: -0, y: 0.95767283, z: -0, w: 0.28785893}
|
m_LocalRotation: {x: -0, y: 0.95767283, z: -0, w: 0.28785893}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 1.06}
|
m_LocalPosition: {x: 0, y: 0, z: -0.07}
|
||||||
m_LocalScale: {x: 3.412188, y: 3.412188, z: 3.412188}
|
m_LocalScale: {x: 3.412188, y: 3.412188, z: 3.412188}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
@@ -887,7 +887,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 150.256, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 150.256, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -0.26, y: 8.59}
|
m_AnchoredPosition: {x: -0.26, y: 9}
|
||||||
m_SizeDelta: {x: 20, y: 5}
|
m_SizeDelta: {x: 20, y: 5}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!23 &5214616606244138098
|
--- !u!23 &5214616606244138098
|
||||||
|
|||||||
@@ -34056,6 +34056,7 @@ GameObject:
|
|||||||
- component: {fileID: 1328561026}
|
- component: {fileID: 1328561026}
|
||||||
- component: {fileID: 1328561025}
|
- component: {fileID: 1328561025}
|
||||||
- component: {fileID: 1328561028}
|
- component: {fileID: 1328561028}
|
||||||
|
- component: {fileID: 1328561029}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Camera
|
m_Name: Camera
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -34189,6 +34190,18 @@ MonoBehaviour:
|
|||||||
m_BeforeTransparentBundles: []
|
m_BeforeTransparentBundles: []
|
||||||
m_BeforeStackBundles: []
|
m_BeforeStackBundles: []
|
||||||
m_AfterStackBundles: []
|
m_AfterStackBundles: []
|
||||||
|
--- !u!114 &1328561029
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1328561024}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1b0524290b57a8b45b31ee4a5c0dc391, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
--- !u!1001 &1354897304
|
--- !u!1001 &1354897304
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@@ -173,6 +173,7 @@ public class Client : MonoBehaviour
|
|||||||
script.dice = dice;
|
script.dice = dice;
|
||||||
script.camera = cam;
|
script.camera = cam;
|
||||||
script.imageCurrentItem = imageCurrentItem;
|
script.imageCurrentItem = imageCurrentItem;
|
||||||
|
script.textName = playerNameTexts[job.data[5]];
|
||||||
|
|
||||||
//ITEM INFO IMAGES
|
//ITEM INFO IMAGES
|
||||||
Image[] temp = new Image[3];
|
Image[] temp = new Image[3];
|
||||||
@@ -206,6 +207,7 @@ public class Client : MonoBehaviour
|
|||||||
script.dice = dice;
|
script.dice = dice;
|
||||||
script.camera = cam;
|
script.camera = cam;
|
||||||
script.imageCurrentItem = imageCurrentItem;
|
script.imageCurrentItem = imageCurrentItem;
|
||||||
|
script.textName = playerNameTexts[job.data[5]];
|
||||||
|
|
||||||
//ITEM INFO IMAGES
|
//ITEM INFO IMAGES
|
||||||
Image[] temp = new Image[3];
|
Image[] temp = new Image[3];
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class GameCamera : MonoBehaviour
|
||||||
|
{
|
||||||
|
public static GameObject gObject;
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
gObject = gameObject;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1b0524290b57a8b45b31ee4a5c0dc391
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -5,6 +5,12 @@ using UnityEngine;
|
|||||||
public class NamesText : MonoBehaviour
|
public class NamesText : MonoBehaviour
|
||||||
{
|
{
|
||||||
public float orgY;
|
public float orgY;
|
||||||
|
private GameObject camera;
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
camera = GameCamera.gObject;
|
||||||
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ public class NoPlayablePlayer : Player
|
|||||||
|
|
||||||
private bool checkDoubleDice = false;
|
private bool checkDoubleDice = false;
|
||||||
|
|
||||||
|
public TMP_Text textName;
|
||||||
|
|
||||||
//Animation:
|
//Animation:
|
||||||
private Vector3 lastPosAnim = Vector3.zero;
|
private Vector3 lastPosAnim = Vector3.zero;
|
||||||
private bool jumpRequest = false;
|
private bool jumpRequest = false;
|
||||||
@@ -97,6 +99,7 @@ public class NoPlayablePlayer : Player
|
|||||||
|
|
||||||
public void Wurfeln(int wurfelZahl)
|
public void Wurfeln(int wurfelZahl)
|
||||||
{
|
{
|
||||||
|
textName.gameObject.SetActive(true);
|
||||||
diceScript.SetMaterial(0);
|
diceScript.SetMaterial(0);
|
||||||
|
|
||||||
jumpRequest = true;
|
jumpRequest = true;
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ public class PlayablePlayer : Player
|
|||||||
|
|
||||||
private static PlayablePlayer instance;
|
private static PlayablePlayer instance;
|
||||||
|
|
||||||
|
public TMP_Text textName;
|
||||||
|
|
||||||
//Animation:
|
//Animation:
|
||||||
private Vector3 lastPosAnim = Vector3.zero;
|
private Vector3 lastPosAnim = Vector3.zero;
|
||||||
private Quaternion rotation = Quaternion.identity;
|
private Quaternion rotation = Quaternion.identity;
|
||||||
@@ -51,8 +53,6 @@ public class PlayablePlayer : Player
|
|||||||
diceScript = dice.GetComponent<Dice>();
|
diceScript = dice.GetComponent<Dice>();
|
||||||
|
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
AddItem(client.items[2]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PlayablePlayer GetCurrentInstance()
|
public static PlayablePlayer GetCurrentInstance()
|
||||||
@@ -99,6 +99,7 @@ public class PlayablePlayer : Player
|
|||||||
{
|
{
|
||||||
if (!Physics.Raycast(new Vector3(Input.mousePosition.x, Input.mousePosition.y, -200), Vector3.forward))
|
if (!Physics.Raycast(new Vector3(Input.mousePosition.x, Input.mousePosition.y, -200), Vector3.forward))
|
||||||
{
|
{
|
||||||
|
textName.gameObject.SetActive(true);
|
||||||
DiceRollRoutine();
|
DiceRollRoutine();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,7 +115,7 @@ public class PlayablePlayer : Player
|
|||||||
jumpRequest = true;
|
jumpRequest = true;
|
||||||
|
|
||||||
wurfelt = true;
|
wurfelt = true;
|
||||||
wurfelZahl = Random.Range(1, 7);
|
wurfelZahl = Random.Range(4, 5);
|
||||||
|
|
||||||
switch (activeItem)
|
switch (activeItem)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -137,7 +137,9 @@ PlayerSettings:
|
|||||||
16:9: 1
|
16:9: 1
|
||||||
Others: 1
|
Others: 1
|
||||||
bundleVersion: 0.16
|
bundleVersion: 0.16
|
||||||
preloadedAssets: []
|
preloadedAssets:
|
||||||
|
- {fileID: -6230802382160794249, guid: 90cd1b71078984c4980fcd1aa03eaaa3, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 48bf7376b3770c44cbfe3f40e77359ab, type: 2}
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
m_HolographicPauseOnTrackingLoss: 1
|
m_HolographicPauseOnTrackingLoss: 1
|
||||||
|
|||||||
Generated
+1
-1
@@ -101,7 +101,7 @@
|
|||||||
<workItem from="1681130452664" duration="6192000" />
|
<workItem from="1681130452664" duration="6192000" />
|
||||||
<workItem from="1681217780586" duration="94000" />
|
<workItem from="1681217780586" duration="94000" />
|
||||||
<workItem from="1681218296017" duration="162000" />
|
<workItem from="1681218296017" duration="162000" />
|
||||||
<workItem from="1681481242206" duration="4364000" />
|
<workItem from="1681481242206" duration="5555000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
Reference in New Issue
Block a user