Example #1
0
    public override void Show(CUnit unit)
    {
        base.Show(unit);

        StartCoroutine(CameraFunc.ShakeCoroutine(m_shakeTime, m_shakeMagnitude));
    }
Example #2
0
 private void Start()
 {
     cam = GameObject.Find("Main Camera").GetComponent <CameraFunc>();
 }