'Component.GetComponent()' is a method, which is not valid in the given context this error in my code;
GetComponent().DOMove(finalPos,2f);
'Component.GetComponent()' is a method, which is not valid in the given context this error in my code;
GetComponent().DOMove(finalPos,2f);
Copyright © 2021 Jogjafile Inc.
Change
GetComponent().DOMove(finalPos,2f);toGetComponent<ComponentYouWantToGet>().DOMove(finalPos,2f);