public static T GetPropertyValue <T>(this GameObject self, string propertyName, T defaultValue, object[] index = null, params Type[] excludeComponentTypes) { return(GameObjectUtil.GetPropertyValue(self, propertyName, defaultValue, index, excludeComponentTypes)); }