Attach Camera to Player

This commit is contained in:
pelpanagiotis
2026-02-09 21:58:30 +02:00
parent 9bcb47d8f6
commit aa248cda7e
10 changed files with 222 additions and 108 deletions

Binary file not shown.

View File

@@ -3,8 +3,20 @@
"WorkspaceRootPath": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\PlayerScript.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Assets\\Scripts\\PlayerScript.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\charactermovement.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\charactermovement.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\chat\\chatui.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\chat\\chatui.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\playerscript.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\playerscript.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\chat\\chatauthenticator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\chat\\chatauthenticator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\chat\\player.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
@@ -13,18 +25,6 @@
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\chat\\chatnetworkmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\chat\\chatnetworkmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\chat\\chatauthenticator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\chat\\chatauthenticator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\charactermovement.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\charactermovement.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|c:\\users\\pelpa\\desktop\\test multiplayer\\assets\\scripts\\chat\\chatui.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{B4CD19DA-EE08-5225-FB19-1D0DFA4113DD}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\chat\\chatui.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
@@ -34,7 +34,7 @@
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 8,
"SelectedChildIndex": 3,
"Children": [
{
"$type": "Bookmark",
@@ -50,15 +50,16 @@
},
{
"$type": "Document",
"DocumentIndex": 4,
"DocumentIndex": 0,
"Title": "CharacterMovement.cs",
"DocumentMoniker": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\CharacterMovement.cs",
"RelativeDocumentMoniker": "Assets\\Scripts\\CharacterMovement.cs",
"ToolTip": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\CharacterMovement.cs",
"RelativeToolTip": "Assets\\Scripts\\CharacterMovement.cs",
"ViewState": "AgIAACMAAAAAAAAAAAAQwAQAAAANAAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAFYAAAAsAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-01-16T10:03:41.564Z"
"WhenOpened": "2026-01-16T10:03:41.564Z",
"EditorCaption": ""
},
{
"$type": "Document",
@@ -70,11 +71,12 @@
"RelativeToolTip": "Assets\\Scripts\\Chat\\ChatAuthenticator.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAGsAAAAuAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-01-14T18:27:16.926Z"
"WhenOpened": "2026-01-14T18:27:16.926Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"DocumentIndex": 4,
"Title": "Player.cs",
"DocumentMoniker": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\Chat\\Player.cs",
"RelativeDocumentMoniker": "Assets\\Scripts\\Chat\\Player.cs",
@@ -87,7 +89,7 @@
},
{
"$type": "Document",
"DocumentIndex": 2,
"DocumentIndex": 5,
"Title": "ChatNetworkManager.cs",
"DocumentMoniker": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\Chat\\ChatNetworkManager.cs",
"RelativeDocumentMoniker": "Assets\\Scripts\\Chat\\ChatNetworkManager.cs",
@@ -99,25 +101,26 @@
},
{
"$type": "Document",
"DocumentIndex": 5,
"DocumentIndex": 1,
"Title": "ChatUI.cs",
"DocumentMoniker": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\Chat\\ChatUI.cs",
"RelativeDocumentMoniker": "Assets\\Scripts\\Chat\\ChatUI.cs",
"ToolTip": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\Chat\\ChatUI.cs",
"RelativeToolTip": "Assets\\Scripts\\Chat\\ChatUI.cs",
"ViewState": "AgIAAEUAAAAAAAAAAAAmwFUAAAAIAAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAA3AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-01-14T17:49:43.718Z"
"WhenOpened": "2026-01-14T17:49:43.718Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"DocumentIndex": 2,
"Title": "PlayerScript.cs",
"DocumentMoniker": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\PlayerScript.cs",
"RelativeDocumentMoniker": "Assets\\Scripts\\PlayerScript.cs",
"ToolTip": "C:\\Users\\pelpa\\Desktop\\Test Multiplayer\\Assets\\Scripts\\PlayerScript.cs",
"RelativeToolTip": "Assets\\Scripts\\PlayerScript.cs",
"ViewState": "AgIAAEoAAAAAAAAAAAAIwGIAAAA1AAAAAAAAAA==",
"ViewState": "AgIAAD8AAAAAAAAAAAAqwGoAAAANAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-02-04T20:24:23.643Z",
"EditorCaption": ""