コード例 #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>();
 }