Add method getComponentList of GameObject