Hi,
I’ve have a scene class in which I can write functions in 2 ways -
FunctionA = function(){
code comes here …
}
FunctionB(){
code comes here …
}
The method FunctionA, can be accessed from a child class. While FunctionB cannot be accessed from a child class.
Can someone please explain the difference between two ways in which the functions are declared above, and their scope if any?
Regards,
Mariam