Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        movementController = GetComponent <PixelCrown.CharacterMovement2D>();
        seeker             = GetComponent <Seeker>();
        rb = GetComponent <Rigidbody2D>();

        InvokeRepeating("UpdatePath", 0f, 0.5f);
    }
Пример #2
0
 private void Start()
 {
     m_characterMovement = GetComponent <CharacterMovement2D>();
 }
Пример #3
0
 void Start()
 {
     movementController = GetComponent <PixelCrown.CharacterMovement2D>();
 }