small tweaks
This commit is contained in:
parent
8e1a969a8c
commit
283ebf3956
3 changed files with 16 additions and 2 deletions
|
@ -691,6 +691,20 @@ Light:
|
|||
m_Lightmapping: 4
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_FalloffTable:
|
||||
m_Table[0]: 0
|
||||
m_Table[1]: 0
|
||||
m_Table[2]: 0
|
||||
m_Table[3]: 0
|
||||
m_Table[4]: 0
|
||||
m_Table[5]: 0
|
||||
m_Table[6]: 0
|
||||
m_Table[7]: 0
|
||||
m_Table[8]: 0
|
||||
m_Table[9]: 0
|
||||
m_Table[10]: 0
|
||||
m_Table[11]: 0
|
||||
m_Table[12]: 0
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_ShadowRadius: 0
|
||||
|
|
|
@ -41,7 +41,7 @@ public class GameManager : Photon.PunBehaviour {
|
|||
PhotonNetwork.LeaveRoom();
|
||||
}
|
||||
|
||||
void Awake()
|
||||
void Start()
|
||||
{
|
||||
if (PersistantPlayerSettings.character == PersistantPlayerSettings.Character.Guard)
|
||||
{
|
||||
|
|
|
@ -51,7 +51,7 @@ public class SimpleNPCBehavior : Photon.PunBehaviour
|
|||
NavMeshHit hit;
|
||||
if (NavMesh.SamplePosition(randTarget, out hit, 1.0f, NavMesh.AllAreas))
|
||||
//return hit.position;
|
||||
return new Vector3 (hit.position.x, 2.0f, hit.position.z);
|
||||
return new Vector3 (hit.position.x, 1.0f, hit.position.z);
|
||||
else
|
||||
return GetRandomLocation();
|
||||
}
|
||||
|
|
Reference in a new issue