Ejemplo n.º 1
0
 void Start()
 {
     m_Focus = GameObject.FindGameObjectWithTag("Player");
     m_Stats = m_Focus.GetComponent<OverworldStats>();
     m_ZoomMinimum = m_Stats.ImpulsePower * ZoomFactor;
     m_Zoom = GetZoom();
     transform.position = new Vector3(m_Focus.transform.position.x, m_Zoom, m_Focus.transform.position.z);
 }
Ejemplo n.º 2
0
 void Start()
 {
     m_Stats = GetComponent<OverworldStats> ();
     m_Stats.Speed = m_Speed;
 }