Sped up cam zoom and started when entering safe zone

This commit is contained in:
Jason Durand 01 2022-04-03 14:19:16 -04:00
parent c2f414ac03
commit cfbde817a6
3 changed files with 3 additions and 6 deletions

View File

@ -652,7 +652,7 @@ MonoBehaviour:
m_BlendUpdateMethod: 0
m_DefaultBlend:
m_Style: 1
m_Time: 2
m_Time: 1
m_CustomCurve:
serializedVersion: 2
m_Curve: []

View File

@ -197,10 +197,6 @@ PrefabInstance:
propertyPath: m_Name
value: SceneStuff
objectReference: {fileID: 0}
- target: {fileID: 8365024802335227869, guid: f7f5d2b1228d13f4d9015073aced3e81, type: 3}
propertyPath: orthographic size
value: 10.5
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f7f5d2b1228d13f4d9015073aced3e81, type: 3}
--- !u!4 &720678398 stripped

View File

@ -218,7 +218,8 @@ public class PlayerMovement : MonoBehaviour {
public override void EnterState() {
base.EnterState();
playerMovement.globalCamera.SetActive(true);
playerMovement.rb.SetEnabled(false);
}