One whole team

This commit is contained in:
Senad Uka
2020-01-11 11:08:22 +01:00
parent c43739e158
commit f29a4d8bc4
4 changed files with 176 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ public class FirstPlayerController : MonoBehaviour
CameraMovement cm = this.mainCamera.GetComponent<CameraMovement>();
if (distance <= 0.1f)
{
cm.myPlayer = GameObject.Find("man-cowboy_Rig").transform;
cm.myPlayer = this.gameObject.transform;
print("prati covjeka");
}
else