Пример #1
0
    void Start()
    {
        rBody = GetComponent <Rigidbody> ();

        view = GetComponent <ViewArea>();
        view.Init();

        fieldOfView = GetComponent <FieldOfView>();

        shake = GetComponent <ShakeChild>();
    }
Пример #2
0
 void Start()
 {
     viewArea = GetComponent <ViewArea>();
     viewArea.Init();
 }