mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2026-07-31 06:49:03 +02:00
Update to 2021.1.23f1
Update to 2021.1.23f1
This commit is contained in:
18
Assets/Scripts/NPC/NPC.cs
Normal file
18
Assets/Scripts/NPC/NPC.cs
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class NPC : MonoBehaviour
|
||||||
|
{
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/NPC/NPC.cs.meta
Normal file
11
Assets/Scripts/NPC/NPC.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2db8b57e361e9647b7c374f6435fa52
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -17,10 +17,10 @@ public class NPCController : MonoBehaviour
|
|||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
startPoint = new Vector3(0, 0, 0);
|
startPoint = new Vector3(13, 0, 23);
|
||||||
endPoint = new Vector3(100, 0, 40);
|
endPoint = new Vector3(41, 0, 50);
|
||||||
rows = 30;
|
rows = 17;
|
||||||
Map = new PathMap(new Vector3(0, 0, 0), rows, rows, 900);
|
Map = new PathMap(new Vector3(0, 0, 0), rows, rows, 1000);
|
||||||
Map.setupMapWithNextLayer();
|
Map.setupMapWithNextLayer();
|
||||||
//Looking through the low res search
|
//Looking through the low res search
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
m_EditorVersion: 2021.1.22f1
|
m_EditorVersion: 2021.1.23f1
|
||||||
m_EditorVersionWithRevision: 2021.1.22f1 (a137e5fb0427)
|
m_EditorVersionWithRevision: 2021.1.23f1 (b50729e604a9)
|
||||||
|
|||||||
Reference in New Issue
Block a user